微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在32位Windows 7计算机上安装Python 3.5中的scipy

我一直在尝试使用预构建的二进制文件在我的 Windows 7机器上安装Scipy到我的 Python 3.5(32位)安装:
http://www.lfd.uci.edu/~gohlke/pythonlibs

我按顺序安装了以下库

numpy‑1.10.1+mkl‑cp35‑none‑win32.whl
scipy‑0.16.1‑cp35‑none‑win32.whl

然后,当尝试使用已安装的软件包时,我得到以下错误

from scipy import sparse
< ... Complete error trace ommitted ... >
packages\scipy\sparse\csr.py",line 13,in <module>
    from ._sparsetools import csr_tocsc,csr_tobsr,csr_count_blocks,\
ImportError: DLL load Failed: The specified module Could not be found.

但是,如果我按照Python 3.4的相同过程替换安装程序:

numpy‑1.10.1+mkl‑cp35‑none‑win32.whl
scipy‑0.16.1‑cp35‑none‑win32.whl

一切似乎都有效.是否有其他依赖项或安装包,我缺少Python 3.5安装?

请务必注意您提供的链接中的这一行:

Many binaries depend on NumPy-1.9+MKL and the Microsoft Visual C++
2008 (x64,x86,and SP1 for cpython 2.6 and 2.7),Visual C++ 2010
(x64,for cpython 3.3 and 3.4),or the Visual C++ 2015 (x64 and
x86 for cpython 3.5) redistributable packages.

根据您的描述下载相应的Microsoft Visual C Redistributable Package,该软件包应为this.

我有一个类似的问题,不记得确切的问题,我下载了一个为我的系统,它工作正常.别的我知道.

原文地址:https://www.jb51.cc/windows/364863.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐