Reputation: 5014
I was trying to install MySQL-python 1.2.3 for Python2.7. I am using windows 7. I have added python to path variable and I tried the following: python setup.py install
But I get an error:
Traceback <most recent call last>:
From "setup.py", line 5, in <module>
from setuptools import setup, Extension
ImportError: No module named setuptools
Upvotes: 0
Views: 422
Reputation: 174624
Install it from this location, which is a repository of compiled Windows libraries for Python.
You should also install setuptools
(from that same location).
Upvotes: 1