加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

缺少依赖项在Windows 7上安装NumPy 1.9 for Python 3.4.1 32位

发布时间:2020-12-14 04:48:52 所属栏目:百科 来源:网络整理
导读:我似乎无法在 Windows 7 AMD 64位计算机上使用32位的 Python 3.4.1获得NumPy 1.9.0. 我下载包,解压缩并运行: python setup.py install 以下是我在命令shell中获得的消息. 我认为我的问题是我没有带有MLK二进制文件的英特尔机器,因为我有一个AMD处理器.我尝
我似乎无法在 Windows 7 AMD 64位计算机上使用32位的 Python 3.4.1获得NumPy 1.9.0.

我下载包,解压缩并运行:

python setup.py install

以下是我在命令shell中获得的消息.

我认为我的问题是我没有带有MLK二进制文件的英特尔机器,因为我有一个AMD处理器.我尝试了很多谷歌搜索结果;没有快乐.

关于如何成功的任何建议?

F:Toolsnumpy-1.9.0>python setup.py install
Running from numpy source directory.
F:Toolspython-3.4.1libdistutilsdist.py:260: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
non-existing path in 'numpydistutils': 'site.cfg'
non-existing path in 'numpyf2py': 'docs'
non-existing path in 'numpyf2py': 'f2py.1'
F2PY Version 2
blas_opt_info:
blas_mkl_info:
  libraries mkl,vml,guide not found in ['F:Toolspython-3.4.1lib','C:','F:Toolspython-3.4.1libs']
  NOT AVAILABLE

openblas_info:
  libraries openblas not found in ['F:Toolspython-3.4.1lib','F:Toolspython-3.4.1libs']
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in ['F:Toolspython-3.4.1lib','F:Toolspython-3.4.1libs
']
  NOT AVAILABLE

atlas_blas_info:
  libraries f77blas,cblas,'F:Toolspython-3.4.1libs']
  NOT AVAILABLE

F:Toolsnumpy-1.9.0numpydistutilssystem_info.py:1526: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
blas_info:
  libraries blas not found in ['F:Toolspython-3.4.1lib','F:Toolspython-3.4.1libs']
  NOT AVAILABLE

F:Toolsnumpy-1.9.0numpydistutilssystem_info.py:1535: UserWarning:
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  warnings.warn(BlasNotFoundError.__doc__)
blas_src_info:
  NOT AVAILABLE

F:Toolsnumpy-1.9.0numpydistutilssystem_info.py:1538: UserWarning:
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  warnings.warn(BlasSrcNotFoundError.__doc__)
  NOT AVAILABLE

non-existing path in 'numpylib': 'benchmarks'
lapack_opt_info:
openblas_lapack_info:
  libraries openblas not found in ['F:Toolspython-3.4.1lib','F:Toolspython-3.4.1libs']
  NOT AVAILABLE

lapack_mkl_info:
mkl_info:
  libraries mkl,'F:Toolspython-3.4.1libs']
  NOT AVAILABLE

  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,atlas not found in F:Toolspython-3.4.1lib
  libraries lapack_atlas not found in F:Toolspython-3.4.1lib
  libraries ptf77blas,atlas not found in C:
  libraries lapack_atlas not found in C:
  libraries ptf77blas,atlas not found in F:Toolspython-3.4.1libs
  libraries lapack_atlas not found in F:Toolspython-3.4.1libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
  NOT AVAILABLE

atlas_info:
  libraries f77blas,atlas not found in F:Toolspython-3.4.1lib
  libraries lapack_atlas not found in F:Toolspython-3.4.1lib
  libraries f77blas,atlas not found in C:
  libraries lapack_atlas not found in C:
  libraries f77blas,atlas not found in F:Toolspython-3.4.1libs
  libraries lapack_atlas not found in F:Toolspython-3.4.1libs
<class 'numpy.distutils.system_info.atlas_info'>
  NOT AVAILABLE

F:Toolsnumpy-1.9.0numpydistutilssystem_info.py:1432: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
lapack_info:
  libraries lapack not found in ['F:Toolspython-3.4.1lib','F:Toolspython-3.4.1libs']
  NOT AVAILABLE

F:Toolsnumpy-1.9.0numpydistutilssystem_info.py:1443: UserWarning:
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  warnings.warn(LapackNotFoundError.__doc__)
lapack_src_info:
  NOT AVAILABLE

F:Toolsnumpy-1.9.0numpydistutilssystem_info.py:1446: UserWarning:
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  warnings.warn(LapackSrcNotFoundError.__doc__)
  NOT AVAILABLE

F:Toolspython-3.4.1libdistutilsdist.py:260: UserWarning: Unknown distribution option: 'define_macros'
  warnings.warn(msg)
running install
running build
running config_cc
unifing config_cc,config,build_clib,build_ext,build commands --compiler options
running config_fc
unifing config_fc,build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
No module named 'numpy.distutils.msvccompiler' in numpy.distutils; trying from distutils
error: Unable to find vcvarsall.bat

F:Toolsnumpy-1.9.0>

解决方法

如果你想尝试在Windows机器上构建NumPy,那么对你有好处.但是,如果您想在Windows机器上使用NumPy,请访问Christoph Gohlke的 Python Extension Packages for Windows存储库.他拥有适用于32位和64位Intel / AMD处理器的MKL链接版NumPy,以及大量其他相关模块,主要用于科学和数字计算.你可以找到numpy here.下载你的Python版本的32位.exe,运行安装程序,你就完成了.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读