How Do I Install a Specific Version of Python in Ubuntu?
Contents How Do I Install a Specific Version of a Python Module? If You Want to Install It on the 3. X Version You Need to Call the Command as “Python3 -M Pip...
Contents
How do I install a specific version of a Python module?
If you want to install it on the 3. x version you need to call the command as “python3 -m pip install “. On Debian/Ubuntu, pip is the command to use when installing packages for Python 2, while pip3 is the command to use when installing packages for Python 3.
How do I change python to 2.7 in Ubuntu?
8 as the default in Ubuntu 18.04 from Python 2.7 you can try the command line tool update-alternatives . Change the path /usr/bin/python3 to your desired python version accordingly.