Installing Python3 Versions of Packages Using Pip on Ubuntu
When running 'sudo pip install package-name' in an environment with multiple Python versions, it can default to installing the Python2 version. To install the Python3 version, here's a solution for Ubuntu 12.04 without using wget or virtualenvs:
For Ubuntu 12.10 and Fedora 13 , installing python3-pip will provide pip-3.2 or later versions without the need for these steps.
The above is the detailed content of How to Install Python3 Packages Using Pip on Ubuntu?. For more information, please follow other related articles on the PHP Chinese website!