Pythonanywhere installs and imports a new module

I am new to Pythonanywhere and want to install the Soundcloud Python module. I opened the Bash console and gave the command pip install --user soundcloud.

It seems to be installed as I see it in the list of modules when I used pip freezethe Bash console. However, when I open the Python 2.7 console and try import soundcloud, I get an error message saying that the Soundcloud module does not exist.

Any ideas on why this is happening?

+5
source share
1 answer

You have installed soundcloud for 2.6, but you are trying to use it in version 2.7.

From the FAQ :

easy_install, pip 2.6, 2.7 3.2 Python ( 2.6, -2.7 -3.2 , )

+8

All Articles