title: installing mysql using pip
body: <p>I've been trying to install mysql for hours now, I've gone through so many forums and everything can someone help me. Every time I run the command pip install mysql-python I get </p>
  
  <hr>
  
  <pre><code>(DjangoProject-env)Adams-MacBook-Air:DjangoProject AdamC$ pip install mysql-python
   Downloading/unpacking mysql-python
     Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded
     Running setup.py (path:/Users/AdamC/projects/Environment/DjangoProject-env/build/mysql-        python/setup.py) egg_info for package mysql-python
       sh: mysql_config: command not found
       Traceback (most recent call last):
        File "&lt;string&gt;", line 17, in &lt;module&gt;
         File "/Users/AdamC/projects/Environment/DjangoProject-env/build/mysql-python/setup.py",   line 17, in &lt;module&gt;
           metadata, options = get_config()
         File "setup_posix.py", line 43, in get_config
          libs = mysql_config("libs_r")
         File "setup_posix.py", line 25, in mysql_config
          raise EnvironmentError("%s not found" % (mysql_config.path,))
        EnvironmentError: mysql_config not found
        Complete output from command python setup.py egg_info:
         sh: mysql_config: command not found
  
   Traceback (most recent call last):
  
     File "&lt;string&gt;", line 17, in &lt;module&gt;
  
     File "/Users/AdamC/projects/Environment/DjangoProject-env/build/mysql-python/setup.py", line 17, in &lt;module&gt;
  
       metadata, options = get_config()
  
      File "setup_posix.py", line 43, in get_config
  
       libs = mysql_config("libs_r")
  
      File "setup_posix.py", line 25, in mysql_config
  
        raise EnvironmentError("%s not found" % (mysql_config.path,))
  
     EnvironmentError: mysql_config not found
  
     Cleaning up...
     Command python setup.py egg_info failed with error code 1 in   /Users/AdamC/projects/Environment/DjangoProject-env/build/mysql-python
    Storing debug log for failure in /Users/AdamC/.pip/pip.log 
    (DjangoProject-env)Adams-MacBook-Air:DjangoPoject AdamC$ 
  </code></pre>
  
  <hr>
  
  <p>I've tried sourcing a .profile </p>
  
  <pre><code> export PATH=/usr/local/mysql/bin:$PATH
   export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/
  </code></pre>
  
  <p>And a few other things but I can't remember right now, any help would be greatly appreciated.</p>