0

I run the following command pip install MySQL-python

it throws the error :-

Collecting MySQL-python
  Using cached MySQL-python-1.2.5.zip
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-_79w9z_b/MySQL-python/setup.py", line 13, in <module>
        from setup_posix import get_config
      File "/tmp/pip-build-_79w9z_b/MySQL-python/setup_posix.py", line 2, in <module>
        from ConfigParser import SafeConfigParser
    ImportError: No module named 'ConfigParser'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-_79w9z_b/MySQL-python/
Mauro Baraldi
  • 6,346
  • 2
  • 32
  • 43
  • 2
    Seems to be same problem http://stackoverflow.com/questions/14087598/python-3-importerror-no-module-named-configparser – vmagrez May 24 '16 at 13:53
  • try using [`mysqlclient`](https://pypi.python.org/pypi/mysqlclient), which is a python3x-compatible fork of MySQL-Python – Ian May 24 '16 at 14:00

0 Answers0