pip-3.3 install MySQL-python
Question: I am getting an error

pip version

pip-3.3 -V pip 1.4.1 from /usr/local/lib/python3.3/site-
packages/pip-1.4.1-py3.3.egg (python 3.3)

how to install MySQLdb in Python3.3 helpp..

    
    
    root@thinkpad:~# pip-3.3 install MySQL-python 
    Downloading/unpacking MySQL-python
      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'
    
    ----------------------------------------
    Cleaning up...
    Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/MySQL-python
    Storing complete log in /root/.pip/pip.log
    


Answer: In python3 `ConfigParser` was renamed to `configparser`. It seems `MySQL-
python` does not support python3. Try:

    
    
    $ pip install PyMySQL
    

[PyMySQL](https://github.com/PyMySQL/PyMySQL) is a different module, but it
supports python3.

