-
Notifications
You must be signed in to change notification settings - Fork 55
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
Linux: apt-get install python3-venv
#85
Comments
What's the command for MacOS Catalina? When I try to install PlatformIO on MacOS, I get the following errors:
Obviously there is no Edit: I've already install Python3 via homebrew to no avail. |
already used that comand
|
Please run the following commands and provide output:
|
|
removing python3.9 it worked |
We have improved the installer and now it ignores broken Python installations and uses the compatible Pythons. See https://github.com/platformio/platformio-core-installer/releases/tag/v1.2.1 Hope this release will fix the issue on Linux. |
PlatformIO IDE for VSCode 3.3.1 is out! https://github.com/platformio/platformio-vscode-ide/releases/tag/v3.3.1 |
apt-get install python3-venv
…75) I got hit by the absence of `venv` Python package which blocks the proper install of Platform IO on Linux (Ubuntu 22.04). See the forum discussion [PlatformIO IDE can’t find Python interpreter on Linux](https://community.platformio.org/t/platformio-ide-cant-find-python-interpreter-on-linux/24262). Notice that [their doc](https://docs.platformio.org/en/latest/integration/ide/vscode.html#installation) is below truth: > Linux Users: To ensure a smooth experience with PlatformIO, it is essential to have the [python3-venv](platformio/platformio-core-installer#85) package installed on your system. but it's not about smooth experience: it just blocks the install of PlatformIO core!
…75) I got hit by the absence of `venv` Python package which blocks the proper install of Platform IO on Linux (Ubuntu 22.04). See the forum discussion [PlatformIO IDE can’t find Python interpreter on Linux](https://community.platformio.org/t/platformio-ide-cant-find-python-interpreter-on-linux/24262). Notice that [their doc](https://docs.platformio.org/en/latest/integration/ide/vscode.html#installation) is below truth: > Linux Users: To ensure a smooth experience with PlatformIO, it is essential to have the [python3-venv](platformio/platformio-core-installer#85) package installed on your system. but it's not about smooth experience: it just blocks the install of PlatformIO core!
…75) I got hit by the absence of `venv` Python package which blocks the proper install of Platform IO on Linux (Ubuntu 22.04). See the forum discussion [PlatformIO IDE can’t find Python interpreter on Linux](https://community.platformio.org/t/platformio-ide-cant-find-python-interpreter-on-linux/24262). Notice that [their doc](https://docs.platformio.org/en/latest/integration/ide/vscode.html#installation) is below truth: > Linux Users: To ensure a smooth experience with PlatformIO, it is essential to have the [python3-venv](platformio/platformio-core-installer#85) package installed on your system. but it's not about smooth experience: it just blocks the install of PlatformIO core!
Solution
Some Linux distributives have a limited Python3 installed by default. Please install the following package and restart the IDE:
If you use a custom Python version, then
where
python3.xx
equals the version of your Python interpreter (check it viapython3 --version
). For example,python3.10-venv
for Python 3.10.Now, please check your Python installation:
Finally, Restart VSCode.
%23 Description of problem
Leave a comment...
BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN
%23 Configuration
VSCode: 1.49.0
PIO IDE: v2.0.1
System: Linux, 4.19.0-10-amd64, x64
%23 Exception
The text was updated successfully, but these errors were encountered: