I'm trying to run a python script from the cron but get the error "No module named requests"
Traceback (most recent call last): File "testscript.py", line 2, in <module> import requests ImportError: No module named requests
The script will run from the console but not through a cron job. I have seen somewhere that the environment settings are different between the two methods. Requests is installed in the ./lib/python2.7/site-packages directory but the script can't seem to access it.
I have no experience in Python so would appreciate some pointers.