title: ModuleNotFoundError: No module named 'serial' after pip install pyserial
body: <p>When trying to run a .py file from a command prompt I am getting the error,   </p>
  
  <blockquote>
    <p>File "C:\Users\mayna\Anaconda3\lib\site-packages\lucidIo\Com.py", line 7, in 
    import serial
    ModuleNotFoundError: No module named 'serial'  </p>
  </blockquote>
  
  <p>This is even after I have installed the pyserial module using    </p>
  
  <p><code>pip install pyserial</code> </p>
  
  <p>The following line, <code>pip list modules</code> shows that pyserial 3.4 is in fact installed yet for some reason when I try to import serial in a command prompt it gives me the module not found error. The thing that is really throwing me off is that when I directly open a python window and try accessing serial I get this,     </p>
  
  <pre><code>&gt;&gt;&gt; import serial     
  &gt;&gt;&gt; serial  
  &lt;module 'serial' from 'C:\\Users\\mayna\\AppData\\Local\\Programs\\Python\\Python37-32\\lib\\site-packages\\serial\\__init__.py'&gt;   
  </code></pre>
  
  <p>I am not sure where to go from here, I am new to python but from what I have already researched I should not be getting this error anymore. I am running python 3.7 on a windows 10 pc.</p>
  
  <p>Any help would be greatly appreciated. Thank you. </p>