Conversation
Platformio currently only supports python 2.7 not 3.0.
| if ! platformio --version &>/dev/null; then | ||
| echo 'Installing platformio...' | ||
| pip install platformio | ||
| pip2.7 install platformio |
There was a problem hiding this comment.
I don't think this will work for everyone.
|
Is there a way to make this work universally? |
|
Why wouldn't this work? In my experience, pip aliases itself to pip2.7 when installing, so this would only fail if you don't have pip installed. Am I wrong? |
|
Also, a way to avoid needing sudo for this is to attempt a user installation with --user. You'll need to refer to the full path as the directory might not be in the user's path afterwards, but that might be acceptable and it's cleaner than installing system-wide. |
|
I fixed this locally by creating a virtualenv, but this means I had to remove the |
Platformio currently only supports python 2.7 not 3.0. This leads to issues when having both python2 and python3 installed.
I ran into the following error: