I have a Centos 6.7 distro and I have installed python 3.5 from source.
I wanted then to run pip3
, but the command was not found.
After researching I tried to install setup tools with ezsetup.
This failed so I downloaded setuptools-20.9.x unzipped this and ran python3.5 easy_install and get the error
#ImportError: No module named 'zipimport'
To install pip3 on Ubuntu or Debian Linux, open a new Terminal window and enter sudo apt-get install python3-pip . To install pip3 on Fedora Linux, enter sudo yum install python3-pip into a Terminal window. You will need to enter the administrator password for your computer in order to install this software.
First Option:
Pip is part of Extra Packages for Enterprise Linux (EPEL), which is a community repository of non-standard packages for the RHEL distribution
rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
Update: yum -y update
Install: yum -y install python-pip
Second Option:
We can also use curl and python to download and install Pip;
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
Then,
python get-pip.py
Just check by typing: pip -V
For reference check here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With