无法尝试安装Numpy

时间:2016-12-28 08:27:03

标签: python python-3.x numpy

我无法尝试安装numpy这是我在安装numpy时遇到的以下错误我尝试从pip安装它但是这会产生不同的错误。

PS C:\WINDOWS\system32> pip install J:\python\pandas-0.19.2-cp36-cp36m-win_amd64.whl

处理j:\ python \ pandas-0.19.2-cp36-cp36m-win_amd64.whl 要求已经满足:c:\ python \ lib \ site-packages中的python-dateutil> = 2(来自pandas == 0.19.2) 收集numpy> = 1.7.0(来自pandas == 0.19.2)   使用缓存的numpy-1.11.3.zip 要求已经满足:pytz> = 2011k在c:\ python \ lib \ site-packages(来自pandas == 0.19.2) 要求已经满足:在c:\ python \ lib \ site-packages中有六个> = 1.5(来自python-dateutil> = 2-> pandas == 0.19.2) 安装收集的包:numpy,pandas   运行setup.py安装numpy ...错误     从命令c:\ python \ python.exe -u -c&#34完成输出;导入setuptools,tokenize; 文件 =' C:\ Users \ VIRALC~1 \ AppData \ Local \ Temp \ pip-build-4rq6hgfg \ numpy \ setup.py'; f = getattr(tokenize,' open',open)(文件);代码= f.read()。代表 花边(' \ r \ n',' \ n'); f.close(); exec(编译(代码,文件,' EXEC'))" install --record C:\ Users \ VIRALC~1 \ AppData \ Local \ Tem p \ pip-1dof7h7v-record \ install-record.txt --single-version-external-managed --compile:     从numpy源目录运行。

Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:

  - `pip install .`       (from a git repo or downloaded source
                           release)
  - `pip install numpy`   (last Numpy release on PyPi)


blas_opt_info:
blas_mkl_info:
  libraries mkl_rt not found in ['c:\\python\\lib', 'C:\\', 'c:\\python\\libs']
  NOT AVAILABLE

openblas_info:
  libraries openblas not found in ['c:\\python\\lib', 'C:\\', 'c:\\python\\libs']
  NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries tatlas not found in ['c:\\python\\lib', 'C:\\', 'c:\\python\\libs']
  NOT AVAILABLE

atlas_3_10_blas_info:
  libraries satlas not found in ['c:\\python\\lib', 'C:\\', 'c:\\python\\libs']
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in ['c:\\python\\lib', 'C:\\', 'c:\\python\\libs']
  NOT AVAILABLE

atlas_blas_info:
  libraries f77blas,cblas,atlas not found in ['c:\\python\\lib', 'C:\\', 'c:\\python\\libs']
  NOT AVAILABLE

C:\Users\VIRALC~1\AppData\Local\Temp\pip-build-4rq6hgfg\numpy\numpy\distutils\system_info.py:1630: 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 ['c:\\python\\lib', 'C:\\', 'c:\\python\\libs']
  NOT AVAILABLE

C:\Users\VIRALC~1\AppData\Local\Temp\pip-build-4rq6hgfg\numpy\numpy\distutils\system_info.py:1639: 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

C:\Users\VIRALC~1\AppData\Local\Temp\pip-build-4rq6hgfg\numpy\numpy\distutils\system_info.py:1642: 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 'numpy\\distutils': 'site.cfg'
F2PY Version 2
lapack_opt_info:
openblas_lapack_info:
  libraries openblas not found in ['c:\\python\\lib', 'C:\\', 'c:\\python\\libs']
  NOT AVAILABLE

lapack_mkl_info:
  libraries mkl_rt not found in ['c:\\python\\lib', 'C:\\', 'c:\\python\\libs']
  NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
  libraries tatlas,tatlas not found in c:\python\lib
  libraries lapack_atlas not found in c:\python\lib
  libraries tatlas,tatlas not found in C:\
  libraries lapack_atlas not found in C:\
  libraries tatlas,tatlas not found in c:\python\libs
  libraries lapack_atlas not found in c:\python\libs
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
  NOT AVAILABLE

atlas_3_10_info:
  libraries satlas,satlas not found in c:\python\lib
  libraries lapack_atlas not found in c:\python\lib
  libraries satlas,satlas not found in C:\
  libraries lapack_atlas not found in C:\
  libraries satlas,satlas not found in c:\python\libs
  libraries lapack_atlas not found in c:\python\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:\python\lib
  libraries lapack_atlas not found in c:\python\lib
  libraries ptf77blas,ptcblas,atlas not found in C:\
  libraries lapack_atlas not found in C:\
  libraries ptf77blas,ptcblas,atlas not found in c:\python\libs
  libraries lapack_atlas not found in c:\python\libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
  NOT AVAILABLE

atlas_info:
  libraries f77blas,cblas,atlas not found in c:\python\lib
  libraries lapack_atlas not found in c:\python\lib
  libraries f77blas,cblas,atlas not found in C:\
  libraries lapack_atlas not found in C:\
  libraries f77blas,cblas,atlas not found in c:\python\libs
  libraries lapack_atlas not found in c:\python\libs
<class 'numpy.distutils.system_info.atlas_info'>
  NOT AVAILABLE

C:\Users\VIRALC~1\AppData\Local\Temp\pip-build-4rq6hgfg\numpy\numpy\distutils\system_info.py:1532: 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 ['c:\\python\\lib', 'C:\\', 'c:\\python\\libs']
  NOT AVAILABLE

C:\Users\VIRALC~1\AppData\Local\Temp\pip-build-4rq6hgfg\numpy\numpy\distutils\system_info.py:1543: 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

C:\Users\VIRALC~1\AppData\Local\Temp\pip-build-4rq6hgfg\numpy\numpy\distutils\system_info.py:1546: 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

c:\python\lib\distutils\dist.py:261: 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, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build\src.win-amd64-3.6
creating build\src.win-amd64-3.6\numpy
creating build\src.win-amd64-3.6\numpy\distutils
building library "npymath" sources
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visu

alstudio.com/visual-cpp-build-tools

----------------------------------------

命令&#34; c:\ python \ python.exe -u -c&#34;导入setuptools,tokenize; 文件 =&#39; C:\ Users \ VIRALC~1 \应用程序数据\本地的\ Temp \ PI p-build-4rq6hgfg \ numpy \ setup.py&#39 ;; f = getattr(tokenize,&#39; open&#39;,open)( file ); code = f.read() .replace(&#39; \ r \ n&#39;,&#39; \ n&#39;); f.clo se(); exec(编译(代码,文件,&#39; exec&#39;))&#34; install --record C:\ Users \ VIRALC~1 \ AppData \ Local \ Temp \ pip-1dof7h7v-record \ in stall-record.txt --single-version-external-managed --compile&#34; C:\ Users \ VIRALC~1 \ AppData \ Lo中的错误代码1失败 CAL \ TEMP \ PIP-集结4rq6hgfg \ numpy的\

0 个答案:

没有答案