安装步骤:

前提:已经安装python

1、下载安装包并解压;

  easy_install 地址:https://pypi.python.org/pypi/setuptools#downloads 

  pip 地址:https://pypi.python.org/pypi/pip#downloads

2、安装easy_install,安装之后就可以随意安装python的库了,只要找对setup.py文件的路径,运行python setup.py install命令,就可以方便的安装;

3、安装pip;

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

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

例如:
easy_install redis

    or

pip install redis (推荐)

posted on 2016-07-11 15:28  laclt  阅读(457)  评论(0编辑  收藏  举报