Home > Article > Backend Development > ImportError: No module named setuptools
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