首页 > 代码库 > python setuptools安装

python setuptools安装

执行# 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

解决办法:

下载

wget "https://bitbucket.org/pypa/setuptools/get/default.tar.gz#egg=setuptools-dev" --no-check-certificate

解压后进入目录,执行

python setup.py install