Python3安装中缺少Numpy模块
我已经在Windows10操作系统上安装了Python 3。一切似乎都很好。我已经运行了一些tkinter程序,它们都运行得很好 我现在想使用Python3安装中缺少Numpy模块,python,numpy,Python,Numpy,我已经在Windows10操作系统上安装了Python 3。一切似乎都很好。我已经运行了一些tkinter程序,它们都运行得很好 我现在想使用numpy模块来完成一项任务,有趣的是,我看到我安装的Python中没有numpy模块 我了解到numpy模块是python安装中应该附带的基本模块。我说的对吗?如果没有,我现在如何安装numpy 根据stackoverflow中一个问题的答案之一(此问题的第三个答案-)的建议,我尝试使用pip(pip install-U numpy)进行安装,但当我这样
numpy
模块来完成一项任务,有趣的是,我看到我安装的Python中没有numpy模块
我了解到numpy模块是python安装中应该附带的基本模块。我说的对吗?如果没有,我现在如何安装numpy
根据stackoverflow中一个问题的答案之一(此问题的第三个答案-)的建议,我尝试使用pip(pip install-U numpy
)进行安装,但当我这样做时,我收到一个错误:
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
blas_info:
libraries blas not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
blas_src_info:
NOT AVAILABLE
NOT AVAILABLE
non-existing path in 'numpy\\lib': 'benchmarks'
lapack_opt_info:
openblas_lapack_info:
libraries openblas not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas,tatlas not found in C:\Python34\lib
libraries lapack_atlas not found in C:\Python34\lib
libraries tatlas,tatlas not found in C:\
libraries lapack_atlas not found in C:\
libraries tatlas,tatlas not found in C:\Python34\libs
libraries lapack_atlas not found in C:\Python34\libs
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries satlas,satlas not found in C:\Python34\lib
libraries lapack_atlas not found in C:\Python34\lib
libraries satlas,satlas not found in C:\
libraries lapack_atlas not found in C:\
libraries satlas,satlas not found in C:\Python34\libs
libraries lapack_atlas not found in C:\Python34\libs
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in C:\Python34\lib
libraries lapack_atlas not found in C:\Python34\lib
libraries ptf77blas,ptcblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries ptf77blas,ptcblas,atlas not found in C:\Python34\libs
libraries lapack_atlas not found in C:\Python34\libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries f77blas,cblas,atlas not found in C:\Python34\lib
libraries lapack_atlas not found in C:\Python34\lib
libraries f77blas,cblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in C:\Python34\libs
libraries lapack_atlas not found in C:\Python34\libs
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
libraries lapack not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
lapack_src_info:
NOT AVAILABLE
NOT AVAILABLE
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, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build\src.win32-3.4
creating build\src.win32-3.4\numpy
creating build\src.win32-3.4\numpy\distutils
building library "npymath" sources
No module named 'numpy.distutils.msvccompiler' in numpy.distutils; trying from distutils
Running from numpy source directory.
C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy\numpy\distutils\system_info.py:1603: 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__)
C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy\numpy\distutils\system_info.py:1612: 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__)
C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy\numpy\distutils\system_info.py:1615: 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__)
C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy\numpy\distutils\system_info.py:1505: 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__)
C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy\numpy\distutils\system_info.py:1516: 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__)
C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy\numpy\distutils\system_info.py:1519: 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__)
C:\Python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).
----------------------------------------
Command "C:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\Vasanth\\AppData\\Local\\Temp\\pip-build-6ru5zneo\\numpy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Vasanth\AppData\Local\Temp\pip-ao3fi3xp-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy
atlas_3_10_blas_线程信息:
设置PTATLAS=ATLAS
在['C:\\Python34\\lib'、'C:\\'、'C:\\Python34\\libs'中找不到库
无法使用的
atlas_3_10_blas_信息:
在['C:\\Python34\\lib'、'C:\\'、'C:\\Python34\\libs'中找不到库SATLA
无法使用的
atlas_blas_线程信息:
设置PTATLAS=ATLAS
在['C:\\Python34\\lib'、'C:\\'、'C:\\Python34\\libs'中找不到库ptf77blas、ptcblas、atlas]
无法使用的
atlas_blas_信息:
在['C:\\Python34\\lib'、'C:\\'、'C:\\Python34\\libs'中找不到库f77blas、cblas和atlas
无法使用的
blas_信息:
在['C:\\Python34\\lib'、'C:\\'、'C:\\Python34\\libs'中找不到库blas
无法使用的
blas\U src\U信息:
无法使用的
无法使用的
“numpy\\lib”中不存在的路径:“基准”
lapack_opt_信息:
openblas_lapack_信息:
在['C:\\Python34\\lib','C:\\','C:\\Python34\\libs'中找不到库openblas
无法使用的
lapack_mkl_信息:
mkl_信息:
在['C:\\Python34\\lib'、'C:\\'、'C:\\Python34\\libs'中找不到库mkl、vml、指南
无法使用的
无法使用的
atlas_3_10_线程信息:
设置PTATLAS=ATLAS
库tatlas,在C:\Python34\lib中找不到tatlas
在C:\Python34\lib中找不到库lapack\u atlas
库tatlas,在C中找不到tatlas:\
在C中找不到库lapack_atlas:\
库tatlas,在C:\Python34\libs中找不到tatlas
在C:\Python34\libs中找不到库lapack_atlas
无法使用的
atlas_3_10_信息:
库satlas,在C:\Python34\lib中找不到satlas
在C:\Python34\lib中找不到库lapack\u atlas
库satlas,在C中找不到satlas:\
在C中找不到库lapack_atlas:\
库satlas,在C:\Python34\libs中找不到satlas
在C:\Python34\libs中找不到库lapack_atlas
无法使用的
atlas_线程_信息:
设置PTATLAS=ATLAS
在C:\Python34\lib中找不到库ptf77blas、ptcblas、atlas
在C:\Python34\lib中找不到库lapack\u atlas
在C中找不到库ptf77blas、ptcblas、atlas:\
在C中找不到库lapack_atlas:\
在C:\Python34\libs中找不到库ptf77blas、ptcblas、atlas
在C:\Python34\libs中找不到库lapack_atlas
无法使用的
atlas_信息:
在C:\Python34\lib中找不到库f77blas、cblas和atlas
在C:\Python34\lib中找不到库lapack\u atlas
C中未找到f77blas、cblas和atlas库:\
在C中找不到库lapack_atlas:\
在C:\Python34\libs中找不到库f77blas、cblas和atlas
在C:\Python34\libs中找不到库lapack_atlas
无法使用的
lapack_信息:
在['C:\\Python34\\lib'、'C:\\'、'C:\\Python34\\libs'中找不到库lapack
无法使用的
lapack_src_信息:
无法使用的
无法使用的
正在运行的安装
运行构建
正在运行配置\u cc
统一config\u cc、config、build\u clib、build\u ext、build命令--编译器选项
运行配置功能
统一config\u fc、config、build\u clib、build\u ext、build命令--fcompiler选项
运行build\u src
构建src
构建py_模块源
创建构建
正在创建build\src.win32-3.4
正在创建build\src.win32-3.4\numpy
正在创建build\src.win32-3.4\numpy\distutils
建立图书馆“npymath”资源
numpy.distutils中没有名为“numpy.distutils.msvccompiler”的模块;从distutils开始尝试
从numpy源目录运行。
C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy\numpy\distutils\system\u info.py:1603:UserWarning:
地图集(http://math-atlas.sourceforge.net/)找不到库。
可以在中指定要搜索库的目录
numpy/distutils/site.cfg文件(第[atlas]节)或通过设置
ATLAS环境变量。
警告。警告(AtlasNotFoundError.\uu文档\uuu)
C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy\numpy\distutils\system\u info.py:1612:UserWarning:
布拉斯(http://www.netlib.org/blas/)找不到库。
可以在中指定要搜索库的目录
numpy/distutils/site.cfg文件(第[blas]节)或通过设置
BLAS环境变量。
警告。警告(BlasNotFoundError.\uuuu文档\uuuuuuuuu)
C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy\numpy\distutils\system\u info.py:1615:UserWarning:
布拉斯(http://www.netlib.org/blas/)找不到来源。
可以在中指定要搜索源的目录
numpy/distutils/site.cfg文件(第[blas_src]节)或通过设置
BLAS_SRC环境变量。
warnings.warn(BlasSrcNotFoundError.\uuuuu doc\uuuuu)
C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy\numpy\distutils\system\u info.py:1505:UserWarning:
地图集(http://math-atlas.sourceforge.net/)找不到库。
可以在中指定要搜索库的目录
numpy/distutils/site.cfg文件(第[atlas]节)或通过设置
ATLAS环境变量。
警告。警告(AtlasNotFoundError.\uu文档\uuu)
C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy\numpy\distutils\system\u info.py:1516:UserWarning:
拉帕克(http://www.netlib.org/lapack/)找不到库。
可以在中指定要搜索库的目录
numpy/distutils/site.cfg文件(第[lapack]节)或通过设置
LAPACK环境变量。
警告。警告(LapackNotFoundError.\uuuu文档\uuuuuu)
C:\Users\Vasanth\AppData\Local\Temp\pip-build-6ru5zneo\numpy\numpy\distutils\system_
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).