Main Content

Resolve Python 3.8.2 Installation Issues During Hardware Setup

R2026b

Issue

During PX4® Hardware Setup, the Python® 3.8.2 installation step might fail or report that the installation cannot proceed. This can happen when a compatible version is already installed or when you lack the required permissions.

Possible Solutions

Use Existing Python 3.8.2 Installation

If Python 3.8.2 is already installed on your computer, you do not need to install it again.

To verify:

  1. Open Programs and Features in the Windows® Control Panel.

  2. Confirm that Python 3.8.2 appears in the list of installed programs.

If Python 3.8.2 is present, select I have already installed Python 3.8.2 on the Install Python 3.8.2 screen of Hardware Setup. Then, provide the existing installation path on the Validate Python 3.8.2 installation screen.

Use a Compatible Python 3.8.x Installation

A Python version with the same minor version (3.8) but a different patch version (such as 3.8.1 or 3.8.5) is compatible with the PX4 toolchain.

To verify:

  1. Open Programs and Features in the Windows Control Panel.

  2. Check if any Python 3.8.x version appears in the list of installed programs.

If a compatible version is present, select I have already installed Python 3.8.2 on the Install Python 3.8.2 screen of Hardware Setup. Then, provide the path to the existing Python 3.8.x installation on the Validate Python 3.8.2 installation screen.

Obtain Administrative Privileges

The Python 3.8.2 installer requires administrative privileges on the host computer. If you do not have these privileges, the installation fails.

Contact your system administrator to obtain the required privileges, then retry the installation.

See Also

Topics