Installing Python - MobiFlight/MobiFlight-Connector GitHub Wiki

Python is the external MobiFlight scripting language, e.g. needed to connect custom aircraft APIs to the WinWing CDUs.

Required Python environment:

  • Minimum installed Python version: v3.10
  • Python path is set in the windows PATH system variable.
  • Installed Python packages: websockets, gql, SimConnect

Installation instructions

1. Download and install Python. Do not forget to set checkmark for adding python.exe to PATH.

python_installer

2. Install the following Python packages via command line.

C:\> pip install websockets gql simconnect

For websockets at least v14.0 is required. A package can be updated with:

C:\> pip install websockets --upgrade

To list the installed packages and versions:

C:\> pip freeze