linux下安装pip
1、pip下载安装
wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate tar -xzvf pip-1.5.4.tar.gz cd pip-1.5.4 python setup.py install
如果报错
[root@localhost pip-1.5.4# python setup.py install Traceback (most recent call last): File “setup.py”, line 6, in from setuptools import setup, find_packages ImportError: No module named setuptools
2、python-setuptools安装
方法1:
wget –q http://peak.telecommunity.com/dist/ez_setup.py python ez_setup.py
方法2:
1.下载: 在它的官网可以下载到安装包: https://pypi.python.org/pypi/setuptools 下载路径: #wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-12.0.3.tar.gz#md5=f07e4b0f4c1c9368fcd980d888b29a65 2. 安装 # tar xvf setuptools-12.0.3.tar.gz # cd setuptools=12.0.3 # python setup.py install
3、pip install uwsgi安装失败问题的解决
yum install python-devel pip install --upgrade pip pip install uwsgi
如对您有帮助,支持下呗!
微信
支付宝