Django ImportError: No module named... but module is visible in Project Interpreter settings
<p>I am developing a Django app and I am experiencing a strange problem. I've installed a few modules using pip and I can see them in "project interpreter settings":</p>

<p><a href="https://i.stack.imgur.com/NWeYS.png" rel="nofollow"><img src="https://i.stack.imgur.com/NWeYS.png" alt="enter image description here"></a></p>

<p>However, when I try to import any of these modules I get errors like this:</p>

<pre><code>File "/Users/Franek/Documents/testy/testy/testysearch/views.py", line 4, in &lt;module&gt;
    from sumy.summarizers.text_rank import TextRankSummarizer
ImportError: No module named sumy.summarizers.text_rank
</code></pre>

<p>I am using <code>virtualenv</code>, but I don't think this can be an issue, because when I try to run some of these modules from console (bypassing Django) they work properly. What am I doing wrong?</p>

<p>Did u activate your virtualenv, with the command:</p>

<pre><code>source &lt;virtualenv_name&gt;/bin/ativate
</code></pre>

python django python-2.7 python-import python-module