easy install和setuptools

python的模块怎么安装呢?

我这里主要是讨论在windows下面的安装

  有些安装包需要administrator权限,所以我找到了easyinstall和setuptools

  https://pythonhosted.org/setuptools/easy_install.html#downloading-and-installing-a-package

 

先uninstall原先的;

下载那个py文件,运行就可以了,会自动下载最新版本的setuptools

 

把%python_home%\scripts目录加入到path里面

easy_install NumPy

但是貌似可以下载,但是安装过程有很多错误和警告。

缺少外部什么东西

 

后面看到一篇文章,说到

distribute和pip分别替代了setuptools和easy_install

Python的包管理工具easy_install, setuptools, pip,distribute介绍

http://blog.csdn.net/jianhong1990/article/details/15503267

pip --version

pip help

 

你可能感兴趣的:(easy install和setuptools)