title: pip3 install mysql-python failed with error code 1 in /tmp/pip-install-4nev4id4/mysql-python/
body: <p>I am new in python on flask, when i try to install mysql-python by entering the<br>
  following command in terminal </p>
  
  <pre><code>pip3 install mysql-python
  </code></pre>
  
  <p>it shows the following error:</p>
  
  <pre><code>Collecting mysql-python
    Using cached https://files.pythonhosted.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip
      Complete output from command python setup.py egg_info:
      Traceback (most recent call last):
        File "&lt;string&gt;", line 1, in &lt;module&gt;
        File "/tmp/pip-install-4nev4id4/mysql-python/setup.py", line 13, in &lt;module&gt;
          from setup_posix import get_config
        File "/tmp/pip-install-4nev4id4/mysql-python/setup_posix.py", line 2, in &lt;module&gt;
          from ConfigParser import SafeConfigParser
      ModuleNotFoundError: No module named 'ConfigParser'
  
      ----------------------------------------
  Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-4nev4id4/mysql-python/
  </code></pre>
  
  <p>and then I use this command
   <code>sudo apt install default-libmysqlclient-dev</code> in terminal which has been suggested by many i checked on stackoverflow.</p>
  
  <p>and then I retry to install mysql-python but also it is showing the same error, can anyone please help me.</p>