I remotely login to Linux virtual box from ssh.
I have following python versions installed:
Python 2.7.15+
Python 3.6.8
Python 3.7.3
How do I install Python 2.7.6
I remotely login to Linux virtual box from ssh.
I have following python versions installed:
Python 2.7.15+
Python 3.6.8
Python 3.7.3
How do I install Python 2.7.6
Just compile it locally, but don’t install it. Then always run this specific python version like this:
(Assuming the directory where you installed this Python version is ~/python.)
~/python/python myScript.py
Though, I recommend making a backup before messing with Python, because Python is the cancer of scripting languages.