简体   繁体   中英

Django Taggit Module Installation Error: No module named setup tools

The title basically explains it all.

I am running Windows 8 (windows 7 was previously installed... If it helps with answering) and am using Python 2.7.

Upon using the code:

python setup.py install

I am getting this error:

C:\\Users\\Nicholas\\Desktop\\taggit>python setup.py install Traceback (most recent call last): File "setup.py", line 52, in from setuptools import setup ImportError: No module named setuptools

Any help? Thanks in advance Nicholas

You need to install setuptools , which allows packages to be configured for your Python installation. It is not included with the default Python installer.

From this link you can download Windows installers for many Python packages (I have linked it directly to setuptools). Make sure you download the version that matches your Python installation.

in Python 3:

pip3 install setuptools

And in Python 2.x:

pip install setuptools

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM