ImportError: no module named anano

I use the introduction in deeplearning tutorials.

sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git sudo pip install Theano 

No problem with numpy and scipy.test:

 python -c "import numpy; numpy.test()" python -c "import scipy; scipy.test()" 

but when i use anano test:

 python -c "import theano; theano.test()" 

He told me "there is no module named anano," which confused me very much.

+6
source share
1 answer

To be sure of installing a version that matches the version of your interpreter, not the version of Python, you can try the following:

 sudo -H python -m pip install Theano 

To load the pip module that matches your interpreter.

+2
source

All Articles