linux安装pip:ImportError: No module named setuptools
[root@local pip-1.5.4]# python setup.py installTraceback (most recent call last):File "setup.py", line 6, in <module&am
·
[root@local local]# wget https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz
[root@local local]# tar -zxvf pip-1.5.4.tar.gz
[root@local local]# cd pip-1.5.4
[root@local pip-1.5.4]# 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
安装相关缺少模块
Debian:apt-get
centos:yum
[root@local pip-1.5.4]#yum install python-setuptools
更多推荐
已为社区贡献1条内容
所有评论(0)