ImportError: No module named setuptools

高洛峰
Release: 2016-10-19 10:37:15
Original
1190 people have browsed it

The following error occurs during the running of python:

python error: ImportError: No module named setuptools
The surface meaning of this error message is: there is no module named setuptools, which means that python lacks this module, then we only need to install this module To solve this problem, let’s install it:
At the command line:
Download the setuptools package

shell# wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar. gz
Unzip the setuptools package

shell# tar zxvf setuptools-0.6c11.tar.gz

shell# cd setuptools-0.6c11
Compile setuptools

shell# python setup.py build
Start executing the setuptools installation

shell# python setup.py install

Installation completed


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!