Forums

Import error (but module installed)

Hi,

I have installed wit in my account (with pip install --user wit). However, when I try to run my app, it keeps raising import error ("no module named wit"). When trying to install wit again, I get "Requirement already satisfied: wit in /home/<username>/.local/lib/python2.7/site-packages.

Not sure how to proceed here. Thanks for any insight.

Which python are you using to run the script?

If you recently registered on PythonAnywhere, your default save and run python version from the editor is Python3.5

(which means you should pip3.5 install instead of pip install)

Of course, that was it. Thank you!

:)