title: Installing PyMySQL for Anaconda python
body: <p>I have installed two versions of python. </p>
  
  <p>Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32</p>
  
  <p>Python 2.7.7 |Anaconda 2.0.1 (64-bit)| (default, Jun 11 2014, 10:40:02) [MSC v.1
  500 64 bit (AMD64)] on win32</p>
  
  <p>I'm trying to install PyMySQL for the anaconda python package, the problem is that when i try to install it, it install in the Python 2.7.2.How can i sucesccufly install the library for the anaconda version. I tried using the anaconda command </p>
  
  <pre><code>conda install PyMySQ
  </code></pre>
  
  <p>but did not work
  and also tried</p>
  
  <pre><code>python.exe  C:\Users\jimenez\Downloads\PyMySQL-0.6.2\setup.py install
  </code></pre>
  
  <p>here is what happens</p>
  
  <pre><code>C:\Anaconda&gt;python.exe  C:\Users\jimenez\Downloads\PyMySQL-0.6.2\setup.py install
  running install
  running bdist_egg
  running egg_info
  writing PyMySQL.egg-info\PKG-INFO
  writing top-level names to PyMySQL.egg-info\top_level.txt
  writing dependency_links to PyMySQL.egg-info\dependency_links.txt
  warning: manifest_maker: standard file 'setup.py' not found
  
  reading manifest file 'PyMySQL.egg-info\SOURCES.txt'
  writing manifest file 'PyMySQL.egg-info\SOURCES.txt'
  installing library code to build\bdist.win-amd64\egg
  running install_lib
  warning: install_lib: 'build\lib' does not exist -- no Python modules to install
  
  
  creating build\bdist.win-amd64\egg
  creating build\bdist.win-amd64\egg\EGG-INFO
  copying PyMySQL.egg-info\PKG-INFO -&gt; build\bdist.win-amd64\egg\EGG-INFO
  copying PyMySQL.egg-info\SOURCES.txt -&gt; build\bdist.win-amd64\egg\EGG-INFO
  copying PyMySQL.egg-info\dependency_links.txt -&gt; build\bdist.win-amd64\egg\EGG-I
  NFO
  copying PyMySQL.egg-info\top_level.txt -&gt; build\bdist.win-amd64\egg\EGG-INFO
  zip_safe flag not set; analyzing archive contents...
  creating 'dist\PyMySQL-0.6.2-py2.7.egg' and adding 'build\bdist.win-amd64\egg' t
  o it
  removing 'build\bdist.win-amd64\egg' (and everything under it)
  Processing PyMySQL-0.6.2-py2.7.egg
  Removing c:\anaconda\lib\site-packages\PyMySQL-0.6.2-py2.7.egg
  Copying PyMySQL-0.6.2-py2.7.egg to c:\anaconda\lib\site-packages
  PyMySQL 0.6.2 is already the active version in easy-install.pth
  
  Installed c:\anaconda\lib\site-packages\pymysql-0.6.2-py2.7.egg
  Processing dependencies for PyMySQL==0.6.2
  Finished processing dependencies for PyMySQL==0.6.2
  
  C:\Anaconda&gt;python
  Python 2.7.7 |Anaconda 2.0.1 (64-bit)| (default, Jun 11 2014, 10:40:02) [MSC v.1
  500 64 bit (AMD64)] on win32
  Type "help", "copyright", "credits" or "license" for more information.
  Anaconda is brought to you by Continuum Analytics.
  Please check out: http://continuum.io/thanks and https://binstar.org
  &gt;&gt;&gt; import PyMySQL
  Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named PyMySQL
  </code></pre>
  
  <p>in the anaconda directory but it is not working either. What else can i try? In this isnt possible what library can i use in anaconda to access a mysql data server?</p>