How to Install Pip on CentOS 7
来源:互联网 发布:python去微博图片水印 编辑:程序博客网 时间:2024/05/01 19:55
https://www.liquidweb.com/kb/how-to-install-pip-on-centos-7/
Pip is a tool for installing and managing Python packages.
Python is a programming language. It is quite popular and has a design philosophy that emphasizes code readability. It is widely considered to be a very easy programming language to learn and master because of its focus on readability. Python is open source, and will run a a multitude of platforms including, but not limited to: Various Linux/UNIX distributions (CentOS, Ubuntu, Fedora, Debian, etc.), Microsoft Windows, and Mac OS X.
- These instructions are intended specifically for installing Pip, a tool for installing and managing Python packages.
- I’ll be working from a Liquid Web Core Managed CentOS 7 server, and I’ll be logged in as root.
There are two options for installing Pip. Use either Option #1 or Option #2 below.
Pip is part of Extra Packages for Enterprise Linux (EPEL), which is a community repository of non-standard packages for the RHEL distribution. First, we’ll install the EPEL repository:
rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
As a matter of best practice we’ll update our packages:
yum -y update
Then let’s install python-pip and any required packages:
yum -y install python-pip
And skip to Step #3.
We can also use curl and python to download and install Pip.
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python get-pip.py
View a list of helpful commands:
pip --help
Check the version of Pip that is installed:
pip -V
Which should yield something similar to:
pip 1.3.1 from /usr/lib/python2.7/site-packages (python 2.7)
- How to Install Pip on CentOS 7
- How To Install Docker on CentOS 7
- How To Install Openfire On CentOS 7
- How to Install MySQL on CentOS 7
- How To Install MySQL on CentOS 7
- How to Install TestLink on CentOS 7
- How To Install Zabbix Server On CentOS 7
- How to install and configure NGINX on CentOS 7
- CentOS7: How to install Desktop Environments on CentOS 7?
- How to install Desktop Environments on CentOS 7?
- How to Install PHP 7 on CentOS/RHEL 7.1 & 6.7
- How To Install Node.js on a CentOS 7 server
- How to Install TeamViewer on CentOS
- How to Install and Use Python Pip on Ubuntu 14.04 and pip install pytz
- How to install Java SDK on CentOS?(Centos安装JDK)
- How to install Jboss + DB2 on CentOS Linux 4.5 ?
- How to Install php-mcrypt on CentOS 6.2
- How to install Python 2.7.3 on CentOS 6.2
- HTML5记住账号和密码
- Android 新手引导库
- Git安装和配置
- .net破解一(反编译,反混淆-剥壳)
- MFC学习20160718(GetModuleFileName&&GetAppDataPath)
- How to Install Pip on CentOS 7
- Windows字符集的统一与转换
- glance v1的解析
- JQuery基本
- Word Ladder
- 特征选择(二)- 聚类变换
- 乐视2016暑期实习编程题
- 创建二叉树求叶子节点个数
- matlab 画图中线型及颜色设置