-
-
Notifications
You must be signed in to change notification settings - Fork 799
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
Labels
Milestone
Comments
This was referenced Oct 16, 2020
This was referenced Oct 17, 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. |
Packages for Python 3.9 are published in the registry. |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.1Description 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:
setting in VSCode path https://docs.platformio.org/en/latest/integration/ide/vscode.html#platformio-ide-custompath
"platformio-ide.customPATH": "/home/xxxx/.platformio/penv/bin/"
disabling in VSCode builtin core https://docs.platformio.org/en/latest/integration/ide/vscode.html#platformio-ide-usebuiltinpiocore
installing python3.8 in Fedora 33
dnf install python3.8
run the Platformio installation script with python 3.8 (creating virtualenv with python3.8)
python3.8 -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/develop/scripts/get-platformio.py)"
check into the
penv/bin/
that python links to 3.8%23 Configuration
VSCode: 1.50.0
PIO IDE: v2.1.0
System: Linux, 5.8.13-300.fc33.x86_64, x64
The text was updated successfully, but these errors were encountered: