Installing Python - MobiFlight/MobiFlight-Connector GitHub Wiki

[!CAUTION]

This guide is obsolete. See the updated guide for information on installing Python for use with MobiFlight.

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

Required Python environment (all three are checked by MobiFlight):

  • 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:\FolderDoesNotMatter>

(It does not matter in which folder you are, just execute on the command line.)

pip install websockets gql simconnect

List and check all installed packages and versions with:

pip freeze

Minimum required version for websockets is v14.0. If list shows lower version, update with:

pip install websockets --upgrade