MySQL python setup error
<p>I am following <a href="https://www.tutorialspoint.com/python/python_database_access.htm" rel="nofollow">https://www.tutorialspoint.com/python/python_database_access.htm</a> to connect Python with SQL. </p>

<pre><code>gunzip MySQL-python-1.2.2.tar.gz
tar -xvf MySQL-python-1.2.2.tar
cd MySQL-python-1.2.2
python setup.py build
python setup.py install
</code></pre>

<p>The last command "python setup.py install" gives :</p>

<p>error: [Errno 13] Permission denied: '/anaconda/lib/python2.7/site-packages/easy-install.pth'</p>

<p>Using Anaconda, you should use <code>conda install &lt;package-name&gt;</code></p>

<p><strong>Linux / Windows:</strong> <code>conda install mysql-python</code></p>

<p><strong>Mac OS:</strong> <code>conda install --channel https://conda.anaconda.org/coursera mysql-python</code></p>

<p>Then it will check for dependencies and install them for you.</p>

python mysql sql python-2.7