How to upgrade pip3 on CentOS and RHEL 6/7 step by step guide
In this
article we will learn how to install pip3 on CentOS and RHEL system which is
very useful to install python packages for that reason it is called as python
package manager.
How to install Pip on CentOS and RHEL
linux system
Pip package
is not available the redhat or centos repo. We need to install epel to install
the pip package.To install pip on the linux system we need to execute the below
commands.
#yum install
epel-release
#yum install
python-pip
After
install this package we need to verify the version of pip .
How to verify the version of pip
To verify
the pip version which you have installed
execute the below commands.
#pip –V
#pip3 –V
How to upgrade the version of pip
To upgrade
version of pip we need to execute the below command.
# pip3.6 install
--upgrade pip
Collecting pip
Downloading
https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl
(1.4MB)
100% |████████████████████████████████| 1.4MB
8.0kB/s
Installing collected
packages: pip
Found existing installation: pip 9.0.1
Uninstalling pip-9.0.1:
Successfully uninstalled pip-9.0.1
Successfully installed
pip-19.1.1
How to run pip to manage python packages
To manage python
package ( inatall ,uninstall and search ) using pip we need to execute the
below commands.
#pip install
<package_name>
#pip uninstall
<package_name>
#pip search
<package_name>
Example:
# pip3.6 install
mysql.connector
Collecting
mysql.connector
Downloading
https://files.pythonhosted.org/packages/28/04/e40098f3730e75bbe36a338926f566ea803550a34fb50535499f4fc4787a/mysql-connector-2.2.9.tar.gz
(11.9MB)
That’s all. If this
article is helpful please share it!!!!
Please Donate To Bitcoin Address: [[address]]
Donation of [[value]] BTC Received. Thank You.
[[error]]
ReplyDeleteNice Posting !! Thanks for sharing..
Docker Training in Hyderabad
Docker and Kubernetes Online Training
Docker Training
Docker Online Training
Kubernetes Online Training
Kubernetes Training in Hyderabad
Best Docker and kubernetes training in ameerpet
Docker and Kubernetes Training in Hyderabad