如何安装 easy installer+pip

1、首先去https://pypi.python.org/pypi/setuptools下载到最新的setuptools压缩包,比如:setuptools-11.3.zip。


2、然后解压到某一个文件目录下。


3、然后用如下命令做安装。

      python setup.py install。


4、安装完成后,在C:\Python27\Lib\site-packages的目录下出现了,类似于:setuptools-11.3-py2.7.egg文件,表示安装成功。


5、然后继续安装pip,看如下的安装命令的安装过程就可以了。

     看到最后一行是:Finished processing dependencies for pip表示安装成功了。

c:\Python27\Scripts>easy_install.exe pip
Searching for pip
Reading https://pypi.python.org/simple/pip/
C:\Python27\lib\site-packages\setuptools-11.3-py2.7.egg\pkg_resources\__init__.p
y:2510: PEP440Warning: 'pip (dev)' is being parsed as a legacy, non PEP 440, ver
sion. You may find odd behavior and sort order. In particular it will be sorted
as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
Best match: pip 6.0.6
Downloading https://pypi.python.org/packages/source/p/pip/pip-6.0.6.tar.gz#md5=b
bb17814bdf82187f46aaf9cec6b6caa
Processing pip-6.0.6.tar.gz
Writing c:\users\wuxiao~1\appdata\local\temp\easy_install-ey6upa\pip-6.0.6\setup
.cfg
Running pip-6.0.6\setup.py -q bdist_egg --dist-dir c:\users\wuxiao~1\appdata\loc
al\temp\easy_install-ey6upa\pip-6.0.6\egg-dist-tmp-0ienuj
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.mailmap'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching 'pip\_vendor\Makefile'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'dev-requirements.txt'
no previously-included directories found matching '.travis'
no previously-included directories found matching 'docs\_build'
no previously-included directories found matching 'contrib'
no previously-included directories found matching 'tasks'
no previously-included directories found matching 'tests'
creating c:\python27\lib\site-packages\pip-6.0.6-py2.7.egg
Extracting pip-6.0.6-py2.7.egg to c:\python27\lib\site-packages
Adding pip 6.0.6 to easy-install.pth file
Installing pip-script.py script to C:\Python27\Scripts
Installing pip.exe script to C:\Python27\Scripts
Installing pip.exe.manifest script to C:\Python27\Scripts
Installing pip2.7-script.py script to C:\Python27\Scripts
Installing pip2.7.exe script to C:\Python27\Scripts
Installing pip2.7.exe.manifest script to C:\Python27\Scripts
Installing pip2-script.py script to C:\Python27\Scripts
Installing pip2.exe script to C:\Python27\Scripts
Installing pip2.exe.manifest script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\pip-6.0.6-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip


  

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值