Installing Python
Installing Python
Python is the primary scripting language used by MobiFlight to connect custom aircraft APIs to WinWing CDUs. The following must be installed for MobiFlight to work with Python:
- Python version
v3.10
or later. - The
websockets
,gql
, andSimConnect
Python packages.
Python installation instructions
Install from the Microsoft Store
Install Python from the Microsoft Store.

Install required Python packages
Open a Command Prompt:

Then run the following command:
pip install gql websockets simconnect --upgrade --no-warn-script-location

Important
The command must be run from a Command Prompt, not from within Python.
If the result of the command is SyntaxError: invalid syntax
, it means it was run from within Python instead of a command prompt.