title: unable to import requests in python on server
body: <p>i have a python script which uses requests module. I had installed requests on my machine and the script runs fine. Now I wanted to run this script on server so that it's always available(otherwise it requires my local machine to be running that script all the time, for it to function)</p>
  
  <p>I installed requests (via <code>pip install requests</code>) and when I do <code>pip freeze</code>, it does show requests as one of the installed modules. but when I run the script, I get an error </p>
  
  <p><code>import requests 
  ImportError: No module named requests</code></p>
  
  <p>it is unable to find requests even when I try importing it in python shell on server, gives the same error - <code>No module named requests</code>.</p>
  
  <p>How do I get this going - TIA</p>
  
  <p><strong>EDIT</strong>: It was an issue with the version difference - I was trying on python2.6(which happened to be the default on the server) and requests module was for 2.7. After trying to run the script using python2.7, it worked just fine.</p>