ImportError: No module named requests using two versions of python
<p>I've python 3.4.1 installed, and need to run python 2 script. I've installed python 2.7.5 by running <code>make install</code>. When i run my script it writes:</p>

<pre><code>Traceback (most recent call last):
  File "/root/roseltorg/run.py", line 2, in &lt;module&gt;
    import requests
ImportError: No module named requests
</code></pre>

<p>Then I'm trying to install requests module but:</p>

<pre><code>pip install requests
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local/lib/python3.4/site-packages/requests-2.11.1-py3.4.egg
Cleaning up...
</code></pre>

<p>How to force install this module for python 2.7?</p>

<p>I prefer using virtualenv in such scenario. </p>

<pre><code>virtualenv -p path_to_python2.7 .(current dir)
source bin/activate
pip install requests
</code></pre>

python python-2.7 pip python-3.4