Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'ConfigParser' while set up #14

Closed
dvska opened this issue Mar 12, 2013 · 2 comments
Closed

No module named 'ConfigParser' while set up #14

dvska opened this issue Mar 12, 2013 · 2 comments
Labels

Comments

@dvska
Copy link

dvska commented Mar 12, 2013

Latest Ubuntu x64, Python 2.7.3, pip 1.3.1:

$ sudo pip install MySQL-python==1.2.4

Downloading/unpacking MySQL-python==1.2.4
  Downloading MySQL-python-1.2.4.zip (113kB): 113kB downloaded
  Running setup.py egg_info for package MySQL-python
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/tmp/pip-build-root/MySQL-python/setup.py", line 14, in <module>
        from setup_posix import get_config
      File "./setup_posix.py", line 2, in <module>
        from ConfigParser import SafeConfigParser
    ImportError: No module named 'ConfigParser'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/tmp/pip-build-root/MySQL-python/setup.py", line 14, in <module>

    from setup_posix import get_config

  File "./setup_posix.py", line 2, in <module>

    from ConfigParser import SafeConfigParser

ImportError: No module named 'ConfigParser'
@s7v7nislands
Copy link

ConfigParser is in python2.7's stdlib. Are you sure you using python2.7 not python3?

sudo pip --version will show which version of python you using.

@farcepest
Copy link
Owner

What s7v7nilands said

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants