Your Question: How Do I Install Two Python Versions on Linux?
Contents How Do I Install Two Versions of Python on Linux? Install That Version Using “Make Install”. Install All Other Versions Using “Make Altinstall”. for...
How do I install two versions of Python on Linux?
Install that version using “make install”. Install all other versions using “make altinstall”. For example, if you want to install Python 2.5, 2.6 and 3.0 with 2.6 being the primary version, you would execute “make install” in your 2.6 build directory and “make altinstall” in the others.
Can I have 2 versions of Python installed?
By design, Python installs to a directory with the version number embedded, e.g. Python version 2.7 will install at C:Python27 , so that you can have multiple versions of Python on the same system without conflicts. Of course, only one interpreter can be the default application for Python file types.