0

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
Raj Nathani
  • 2,705
  • 1
  • 18
  • 19
James Hallen
  • 3,214
  • 4
  • 19
  • 25
  • Read the following post to have your query answered - http://stackoverflow.com/questions/14426491/python-3-importerror-no-module-named-setuptools – Anand Jambhulkar Jun 30 '13 at 19:55

1 Answers1

1

Install it from this location, which is a repository of compiled Windows libraries for Python.

You should also install setuptools (from that same location).

Burhan Khalid
  • 152,028
  • 17
  • 215
  • 255