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

Suggestion: Allow Python 2.7 in unsupported mode #176

Closed
pitosalas opened this issue Feb 10, 2021 · 6 comments
Closed

Suggestion: Allow Python 2.7 in unsupported mode #176

pitosalas opened this issue Feb 10, 2021 · 6 comments

Comments

@pitosalas
Copy link

This may be a terrible idea, but I just updated platformIO and was kind of tripped up by needing to install Python 3.7 to allow me to simply update my teensy. If the code still works with python2.x but you don't want to support it, it would be nice, as long as feasible to allow me to take the risk and still run it on 2.x, for example with a switch "--unsupportedpython

@ivankravets
Copy link
Member

What is your OS? Do you use PlatlformIO IDE for VSCode?

@pitosalas
Copy link
Author

pitosalas commented Feb 10, 2021 via email

@ivankravets
Copy link
Member

Please perform 3 steps and the issue will be resolved:

@pitosalas
Copy link
Author

pitosalas commented Feb 10, 2021 via email

@ivankravets
Copy link
Member

ivankravets commented Feb 11, 2021

2-nd step. sudo apt-get install python3-venv?

then

python3 -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"

@pitosalas
Copy link
Author

Thanks, I got it to work. Unfortunate that they decided to de-support python2.7 because I think many in the ROS robotics work are on that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants