Error No Module named "PyMySQL" Windows 10
<p>i have problem to try pymysql.</p>

<ol>
<li>my computer is using windows 10</li>
<li>use python 3.5 </li>
<li>i have installed pymysql via <code>pip install pymsql</code> and success, no error. i have checked with <code>pip list</code> and get <code>PyMySQL (0.7.9)</code></li>
</ol>

<p>but when i run <code>import PyMySQL</code> get error no module named "PyMySQL" where is the problem?</p>

<p>edited :</p>

<p>but if i try <code>import pymysql</code>, i got error :</p>

<pre><code>Traceback (most recent call last):                                                                                                 
  File "pymysql1.py", line 1, in &lt;module&gt;                                                                                          
    import pymysql                                                                                                                 
  File "C:\Program Files (x86)\Python35-32\lib\site-packages\pymysql\__init__.py", line 29, in &lt;module&gt;                            
    from .err import (                                                                                                             
  File "C:\Program Files (x86)\Python35-32\lib\site-packages\pymysql\err.py", line 1, in &lt;module&gt;                                  
    import struct                                                                                                                  
  File "C:\python\struct.py", line 2, in &lt;module&gt;                                                                                  
    pack('hhl', 1, 2, 3)                                                                                                           
NameError: name 'pack' is not defined                
</code></pre>