ImportError No module named scipy

by: pakdboth, 8 years ago


I've followed the tutorial  "Scikit-Learn Sklearn with NLTK" then i have  a problem after running the multinomialNB.  (ImportError: No module named 'scipy')   I've tired pip install scipy but it didn;t work.

I'm using Python3.5 , Window 10.



You must be logged in to post. Please login or register an account.



Why didn't pip install scipy work? Do you possibly have multiple versions of Python installed and have accidentally installed scipy instead to another version?

-Harrison 8 years ago

You must be logged in to post. Please login or register an account.


it tells me i have a problem with lapack/blas
here's the last line of the cmd
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

-pakdboth 8 years ago

You must be logged in to post. Please login or register an account.


Probably the easiest thing to do is to install the pre-build .whl files here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

Choose the one for 3.5 and your Python bitversion (32 or 64 bit). As long as you have numpy installed, you can install scipy. You can also get numpy from this same source. You download the .whl file and then use pip on the .whl file.

-Harrison 8 years ago

You must be logged in to post. Please login or register an account.