python easy_install安装
2017-03-24 18:22
316 查看
python 好多扩展包的安装都可以通过pip install 或 easy_install 方式安装,前提条件是需要先安装这些这些包管理工具,在安装pip包管理工具时,下载完源码后,使用python setup.py install 方式安装时,会如下错误:
Traceback (most recent call last):
File "setup.py", line 6, in <module>
from setuptools import setup, find_packages
ImportError: No module named setuptools
这时就需要我们先安装setuptools工具,但是下载过setuptools源码,通过python easy_install.py安装时,又报
Traceback (most recent call last):
File "easy_install.py", line 4, in <module>
from setuptools.command.easy_install import main
File "C:\Users\lixia\Downloads\setuptools-34.3.2\setuptools-34.3.2\setuptools\__init__.py", line 10, in <module>
from six.moves import filter, map
ImportError: No module named six.moves
现在给出一种快捷的方式安装上述工具即:
下载 ez_setup.py 文件
http://download.csdn.net/my
,直接python 运行该文件,其自动会选择合适的easy_install工具进行安装,之后再运行python setup.py install 安装pip工具即可。
Traceback (most recent call last):
File "setup.py", line 6, in <module>
from setuptools import setup, find_packages
ImportError: No module named setuptools
这时就需要我们先安装setuptools工具,但是下载过setuptools源码,通过python easy_install.py安装时,又报
Traceback (most recent call last):
File "easy_install.py", line 4, in <module>
from setuptools.command.easy_install import main
File "C:\Users\lixia\Downloads\setuptools-34.3.2\setuptools-34.3.2\setuptools\__init__.py", line 10, in <module>
from six.moves import filter, map
ImportError: No module named six.moves
现在给出一种快捷的方式安装上述工具即:
下载 ez_setup.py 文件
http://download.csdn.net/my
,直接python 运行该文件,其自动会选择合适的easy_install工具进行安装,之后再运行python setup.py install 安装pip工具即可。
相关文章推荐
- Windows 下 Python easy_install 的安装
- python安装第三方库一般方式和easy_install方式
- 安装,使用Python easy_install 模块
- easy_install安装python的MySQLdb模块
- Python中的包安装工具easy_install
- Python中的easy_install安装
- Cenos5 安装 python2.7的easy_install
- Python - easy_install的安装和使用
- python自动安装工具easy_install的使用
- 原创安装大全啊,安装配置:celery,rabbitMQ,NodeJs,Maven + Nexus,Django,Python,RabbitMQ,TTserver,Easy_install,redis
- easy_install 安装python package的时候出现error writing to -: Broken pipe
- win下安装python easy_install
- Python-- easy_install 的安装
- Python中的easy_install安装小技巧
- python-easy_install【安装其他模块】
- linux中python安装easy_install
- 使用Easy_install 安装python站点包
- python - easy_install的安装和使用
- python自动安装工具easy_install的使用
- Windows python3 安装easy_install