You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
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
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.
Activity
bronsen commentedon 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 commentedon Oct 20, 2020
Packages for Python 3.9 are published in the registry.