deb package of python3-pip, and using dpkg, a.k.a. If the apt-get route still doesn't work, you may also try downloading a. Afterwards you can use the 'pip.exe' launcher, but first check where.exe pip to make. They call it support, rather than cutting-edge, for a reason. By default the py launcher is installed, in which case pip 3.10 can be upgraded with the following command: py -3.10 -m pip install -upgrade pip If Python is installed for all users, the above command may require elevating to get administrator access.
This will ultimately give you a chance perform an apt-get update, upgrade, and dist-upgrade when 12.04 finally becomes obsolete. What LTS means, is that they are keeping precise on the main repo, so that your package manager doesn't break. Sure, you will get a few updates from it, but then you'll have cases where certain packages don't exist, like python3-pip, which does exist in the trusty repo, for example. To clarify on what Long-term support means, it does not necessarily mean that they are keeping precise up-to-date with the latest and greatest software.
#Python 3 install pip update
To add to dmeu's answer, you may have to update your /etc/apt/sources.list to include mirrors from a more recent repository, such as trusty. Then you can confirm your existing pip is still python2.7 based: pip -version However it might be best to start investigating the happy world of virtualenv as this answer suggests.Īlternatively you could rename the easy-installed python3 version of pip: sudo mv /usr/local/bin/pip /usr/local/bin/pip-3 It shouldn't overwrite it so as long as you know that, it might be acceptable. Now, there is every chance that this will clash with Python 2's pip and override /usr/bin/pip, because it will install a python3 based /usr/local/bin/pip which is also in Ubuntu 12.04's $PATH. Therefore you need to follow the more old fashioned install route with easy_install: sudo apt-get install python3-setuptools While on more modern versions of Ubuntu you could just sudo apt-get install python3-pip (and then use pip3), a Python 3 copy of pip was never packaged for 12.04. The best way you can install pip3 is by upgrading to a newer, supported version of Ubuntu. 2018 Update: This is still attracting upvotes which worries me.ġ2.04 has been unsupported for about a year now.