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)
I installed requests (via pip install requests) and when I do pip freeze, it does show requests as one of the installed modules. but when I run the script, I get an error 
import requests 
ImportError: No module named requests
it is unable to find requests even when I try importing it in python shell on server, gives the same error - No module named requests.
How do I get this going - TIA
EDIT: 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.
It was an issue with the python versions. My server's default was 2.6 and requests was 2.7 - tried running python2.7 and then it worked. Closing this.
unable to import requests in python on server