“没有名为 scipy 的模块"在 Windows 上 [英] "No module named scipy" on Windows
本文介绍了“没有名为 scipy 的模块"在 Windows 上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 sklearn\base.py 中,我有语句 from scipy import sparse
.我收到此错误 没有名为 scipy 的模块"
.
In sklearn\base.py, I have the statement from scipy import sparse
.
I am getting this error "no module named scipy"
.
我尝试使用 pip install scipy
进行安装,但出现了很多错误:
I tried to install using pip install scipy
, but I get so many errors:
libraries mkl_rt not found
openblas not found
lapack not found
no lapacl/blas resources found
等等.
我应该在 Windows 上做什么?
推荐答案
从以下链接下载 scipy wheel 文件
Download the scipy wheel file from the following link
https://pypi.python.org/pypi/scipy
然后使用下载的文件进行 pip install
Then do pip install with the Downloaded file
pip install <wheel-file>
如果需要,提供sudo权限
if required , provide sudo permission
这篇关于“没有名为 scipy 的模块"在 Windows 上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文