CentOS 7 EPEL now includes Python 3.4: yum install python34
However, when I try that, even though Python 3.4 installs successfully, it doesn't appear to install pip. Which is weird, because pip
should be included by default with Python 3.4. which pip3
doesn't find anything, nor does which pip
.
How do I access pip from the Python 3.4 package in CentOS 7 EPEL release?
There is a easy way of doing this by just using easy_install (A Setuptools to package python librarie).
Assumption. Before doing this check whether you have python installed into your Centos machine (at least 2.x).
Steps to install pip.
So lets do install easy_install,
Now lets do pip with easy_install,
That's Great. Now you have pip :)
Figure out what version of python3 you have installed:
and then install the best match. Use reqoquery to find name of resulting pip3.e.g
tells me to use pip3.6 instead of pip3
Below are the steps I followed to install python34 and pip
Or if you don't have
curl
for some reason:After this you should be able to run
On CentOS 7, the
pip
version ispip3.4
and is located here:You will likely need the EPEL repositories installed:
yum install -y epel-release