title: Can't install mysqlclient-python on Linux Ubuntu
body: <p>I am currently trying to install mysqlclient-python on ubuntu to use with Django and am having issues. </p>
  
  <p>I am following this page: <a href="https://github.com/PyMySQL/mysqlclient-python" rel="nofollow">https://github.com/PyMySQL/mysqlclient-python</a></p>
  
  <p>However, when I run 'pip install mysqlclient' I get the following error:</p>
  
  <pre><code>running install_lib
  
  copying build/lib.linux-x86_64-2.7/_mysql_exceptions.py -&gt; /usr/local/lib/python2.7/dist-packages
  
  error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/_mysql_exceptions.py'
  
  ----------------------------------------
  Cleaning up...
  Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_robofish/mysqlclient/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ynYYW0-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_robofish/mysqlclient
  Storing debug log for failure in /home/robofish/.pip/pip.log
  </code></pre>
  
  <p>I checked the <code>/usr/local/lib/python2.7/</code> directory, and it seems to be empty. Could this be the problem?</p>