Forums

Python 2.7 Script Dependencies

Hello,

I am new to PythonAnywhere and I 'git cloned' my GitHub repository files into a folder in my pythonanywhere files. However when I start a scheduled task, it return the error that it could not install the dependencies which the script runs on.

The dependencies I require are: requests, colorama, isodate and goslate.

However it seems we cannot install the dependencies onto the PythonAnywhere server. Is there a way to run my script with these dependencies?

Thanks, Tech

Here is the log from the scheduled task run:

http://pastebin.com/B7sEw5B7

Look at our help pages here. If you use a virtualenv you need to activate it/use the correct python binary.

And also you can probably do the install outside of the scheduled task once instead of installing it every single time you run your scheduled task.