Jan-19-2021, 02:11 PM
I actually installed a Vagrant box on Windows and now I can run any version of Python with pyenv.
They have made it much simpler to install everything on linux. First thing you need to do is install the proper build dependencies for your version of Linux.
Then, go here for the automated installer.
This is what I used without a hitch. I just had to insert some scripting code into my .bashrc file. After the install finishes, it will tell you exactly what you need to put in your .bashrc or whatever shell you're using.
They have made it much simpler to install everything on linux. First thing you need to do is install the proper build dependencies for your version of Linux.
Then, go here for the automated installer.
This is what I used without a hitch. I just had to insert some scripting code into my .bashrc file. After the install finishes, it will tell you exactly what you need to put in your .bashrc or whatever shell you're using.
(Jan-15-2021, 09:55 PM)Larz60+ Wrote: Since 2013 when I first started using python in earnest, I have used the most recent version available. I am currently using 3.9.1
However not all packages will run under the latest version, so I use pyenv and virtual environments, that way each project will have it's own python version, and switching is done automatically when the virtual environment is activated.
If you are interested in using this approach, see: python version management