Hi,
I'm trying to run a script on PythonAnywhere but it's throwing an exception saying a module isn't installed but I think I have installed it:
I installed it via pip: http://i.imgur.com/s94LgNo.png Tried using pip2.7 as well It says it has been installed
This is the start of my script:
1 2 3 4 5 6 7 8 9 10 11 |
|
I thought maybe it was starting it with the wrong version of python so I added the hashbang "#!/usr/bin/env python2.7" as described on https://www.pythonanywhere.com/wiki/SaveAndRunPythonVersion but it said there was no such interpreter so I added #!/usr/bin/python2.7 instead and now this is the error I get:
Traceback (most recent call last):
File "/home/lukei2w/bot.py", line 11, in <module>
from Pastebin import PastebinAPI
ImportError: No module named Pastebin
I get the feeling I'm just doing something really obvious wrong, if someone could point that out for me I'd be really grateful.
Any help is appreciated, thanks in advance :)