1.在以下地址下载最新的PIP安装文件:http://pypi.python.org/pypi/pip#downloads

2.解压安装

3.下载Windows的easy installer,然后安装:http://pypi.python.org/pypi/setuptools

4.安装setuptools工具

5.命令行工具cd切换到pip的目录,找到setup.py文件,然后输入python setup.py install,运行即可(之所以能运行这步,是因为之前安装的setuptools工具,以后就可以随意安装python的库了,只要找对setup.py文件的路径,运行上述命令,就可以方便的安装了)

6.把python的安装路径添加到环境变量path中,例如G:\python2.6\Scripts

7.完成!


另:安装完pip和easy_installer工具后,以后再安装python其他库就方便了

例如:
easy_install redis

or
pip install redis (推荐)

 

安装easy_install、pip:
http://heipark.iteye.com/blog/1916758

相关文章:

  • 2021-11-30
  • 2021-12-18
  • 2021-04-20
  • 2022-12-23
  • 2021-10-29
  • 2021-09-24
  • 2021-11-30
猜你喜欢
  • 2021-07-27
  • 2021-10-04
  • 2022-12-23
  • 2021-11-30
  • 2021-11-04
  • 2021-05-29
相关资源
相似解决方案