Forums

Module Not Found Error

I am relatively new to using PythonAnywhere. I am trying to run a task that runs anytime the ISS is within a certain coordinate range. I am trying to use twilio to ping me when this occurs, however I cannot seem to get twilio to work. When I try to install twilio, it tells me that the module is already installed, however in the always-on task, it continuously tells me the module does not exist. I'd love a solution to this it is super frustrating. Thanks!

I am also relatively new. Twilio works with my 'Scheduled task' code. I don't use 'Always-on', so can't help you there.

@cameronray Can you show us how are you running the command in the always-on task?

It's just a conditional statement stipulating that if the coordinates are within a certain range it uses twilio to ping with an sms, but the always on function keeps telling me there is no module named twilio even though I thought I had installed it with bash. @pafk

I meant the command you put to be ran as the always-on task, not your actual code.

@pafk Oh, my apologies, I'm using this: python3.6 /home/cameronray/ISS_Tracker/main.py

Make sure that you have installed the module into Python3.6 using pip3.6 with the --user argument.