Skip to content

Python 3.9 is not supported #3700

Closed
Closed

Description

@dariomas

Temorary solution

Please use the latest Python 3.8 (not 3.9). See https://docs.platformio.org/en/latest/faq.html#install-python-interpreter


Configuration

Operating system: Linux Fedora 33

PlatformIO Version (platformio --version): PlatformIO, version 5.0.1

Description of problem

The Platformio installer on a Linux system wit Python 3.9 (Fedora 33) hung while installing because it does not find the
'platformio/contrib-pysite @ ~2.39.0'

Actual Results

VSCode: 1.50.0
PIO IDE: v2.1.0
System: Linux, 5.8.13-300.fc33.x86_64, x64

%23 Exception

Error: Error: Could not find the package with 'platformio/contrib-pysite @ ~2.39.0' requirements for your system 'linux_x86_64'

Additional info

A temporary resolution:

%23 Configuration

VSCode: 1.50.0
PIO IDE: v2.1.0
System: Linux, 5.8.13-300.fc33.x86_64, x64

Activity

  1. added this to the 5.0.2 milestone on Oct 12, 2020
  2. bronsen commented on Oct 19, 2020

    @bronsen

    Another approach is to create a python virtualenv with the desired python version. Then start vscode from the actived virtualenv: platformio then picks ups the compatible version.

    Here are some more details, for fish shell, using pyenv and virtualfish.

  3. modified the milestone: 5.0.2 on Oct 20, 2020
  4. ivankravets commented on Oct 20, 2020

    @ivankravets
    Member

    Packages for Python 3.9 are published in the registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions