title: How to import modules into Jupyter notebook
body: <p>So I am using anaconda and conda in a Windows OS.</p>
  
  <p>And as you may know Jupyter gets installed automatically with Anaconda.
  My python code runs normally when using the python command </p>
  
  <pre><code>python myfile.py
  </code></pre>
  
  <p>However when I try to run it through jupyter I receive the following error</p>
  
  <pre><code>ImportError                               Traceback (most recent call last)
  &lt;ipython-input-1-43605f892034&gt; in &lt;module&gt;()
        1 #!/usr/bin/env python
        2 import os
  ----&gt; 3 from gensim import corpora, models, similarities
        4 from gensim.models import LsiModel
        5 import logging
  
  ImportError: No module named gensim
  </code></pre>
  
  <p>To troubleshoot I checked the following </p>
  
  <ol>
  <li>Made sure to run jupyter notebook while enabling the activating the proper environment</li>
  <li>Made sure the activated envrioment has the "gensim package" installed</li>
  </ol>