Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.9 is not supported #3700

Closed
dariomas opened this issue Oct 9, 2020 · 2 comments
Closed

Python 3.9 is not supported #3700

dariomas opened this issue Oct 9, 2020 · 2 comments

Comments

@dariomas
Copy link

dariomas commented Oct 9, 2020

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

@bronsen
Copy link

bronsen commented Oct 19, 2020

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.

@ivankravets ivankravets modified the milestone: 5.0.2 Oct 20, 2020
@ivankravets
Copy link
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
Projects
None yet
Development

No branches or pull requests

3 participants