Categories
CS

ImportError: No module named setuptools

原因:没有安装setuptool
windows下解决方法:
到 https://pypi.python.org/pypi/setuptools
下载安装setuptool
ubuntu下解决方法:
wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz
tar zxvf setuptools-0.6c11.tar.gz
cd setuptools-0.6c11
python setup.py build
python setup.py install
参考:
http://blog.sina.com.cn/s/blog_5f77a65501019hj1.html

 

 

http://leonshi.com/

Leave a Reply

Your email address will not be published. Required fields are marked *