• 手机版

    扫码体验手机版

  • 微信公众号

    扫码关注公众号

国内首家协议开发

软芯音视解码保护平台

在线
客服

发布
需求

在线
聊天

天盟
APP

天盟APP下载

关注
微信

微信扫一扫访问
顶部

PYthon用pip安装scipy和wxPython报相同的错误,报错信息完全看不懂,网上搜

C:\Users\Fridex>pip install wxCollecting wx  Downloading wx-3.0.3.tar.gz (41.8MB)    100% |████████████████████████████████| 41.8MB 27kB/s  Running setup.py (path:C:\Users\Fridex\AppData\Local\Temp\pip-build-fr4zw8p2\wx\setup.py) egg_info for package wx produced metadata for project name wxpython-phoenix. Fix your #egg=wx fragments.Requirement already satisfied (use --upgrade to upgrade): six in c:\users\fridex\appdata\local\programs\python\python35\lib\site-packages (from wxpython-phoenix)Installing collected packages: wxpython-phoenix  Running setup.py install for wxpython-phoenix ... error    Complete output from command c:\users\fridex\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Fridex\\AppData\\Local\\Temp\\pip-build-fr4zw8p2\\wx\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Fridex\AppData\Local\Temp\pip-cqrj_ycf-record\install-record.txt --single-version-externally-managed --compile:    running install    running build    WARNING: Building this way assumes that all generated files have been    generated already.  If that is not the case then use build.py directly    to generate the source and perform the build stage.  You can use    --skip-build with the bdist_* or install commands to avoid this    message and the wxWidgets and Phoenix build steps in the future.    "c:\users\fridex\appdata\local\programs\python\python35\python.exe" -u build.py build    Will build using: "c:\users\fridex\appdata\local\programs\python\python35\python.exe"    3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)]    Python's architecture is 64bit    cfg.VERSION: 3.0.3    Running command: build    Running command: build_wx    Command '"c:\users\fridex\appdata\local\programs\python\python35\python.exe" -c "import distutils.msvc9compiler as msvc; mc = msvc.MSVCCompiler(); mc.initialize(); print(mc.cc)"' failed with exit code 1.    Traceback (most recent call last):      File "", line 1, in       File "c:\users\fridex\appdata\local\programs\python\python35\lib\distutils\msvc9compiler.py", line 374, in initialize        vc_env = query_vcvarsall(VERSION, plat_spec)      File "c:\users\fridex\appdata\local\programs\python\python35\lib\distutils\msvc9compiler.py", line 262, in query_vcvarsall        raise DistutilsPlatformError("Unable to find vcvarsall.bat")    distutils.errors.DistutilsPlatformError: Unable to find vcvarsall.bat    Finished command: build_wx (0.140s)    Finished command: build (0.140s)    Command '"c:\users\fridex\appdata\local\programs\python\python35\python.exe" -u build.py build' failed with exit code 1.    ----------------------------------------Command "c:\users\fridex\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Fridex\\AppData\\Local\\Temp\\pip-build-fr4zw8p2\\wx\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Fridex\AppData\Local\Temp\pip-cqrj_ycf-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Fridex\AppData\Local\Temp\pip-build-fr4zw8p2\wx\C:\Users\Fridex>pip install scipy
Collecting scipy
  Using cached scipy-0.18.1.tar.gz
Installing collected packages: scipy
  Running setup.py install for scipy ... error
    Complete output from command c:\users\fridex\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Fridex\\AppData\\Local\\Temp\\pip-build-zjjaf2d2\\scipy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Fridex\AppData\Local\Temp\pip-cch36o_k-record\install-record.txt --single-version-externally-managed --compile:


    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 scipy`   (last SciPy release on PyPI)




    lapack_opt_info:
    openblas_lapack_info:
      libraries openblas not found in ['c:\\users\\fridex\\appdata\\local\\programs\\python\\python35\\lib', 'C:\\', 'c:\\users\\fridex\\appdata\\local\\programs\\python\\python35\\libs']
      NOT AVAILABLE


    lapack_mkl_info:
    mkl_info:
      libraries mkl,vml,guide not found in ['c:\\users\\fridex\\appdata\\local\\programs\\python\\python35\\lib', 'C:\\', 'c:\\users\\fridex\\appdata\\local\\programs\\python\\python35\\libs']
      NOT AVAILABLE


      NOT AVAILABLE


    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
    c:\users\fridex\appdata\local\programs\python\python35\lib\site-packages\numpy\distutils\system_info.py:639: UserWarning: Specified path C:\projects\numpy-wheels\windows-wheel-builder\atlas-builds\atlas-3.11.38-sse2-64\lib is invalid.
      warnings.warn('Specified path %s is invalid.' % d)
   
      NOT AVAILABLE


    atlas_3_10_info:
   
      NOT AVAILABLE


    atlas_threads_info:
    Setting PTATLAS=ATLAS
   
      NOT AVAILABLE


    atlas_info:
   
      NOT AVAILABLE


    c:\users\fridex\appdata\local\programs\python\python35\lib\site-packages\numpy\distutils\system_info.py:1548: 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:\\users\\fridex\\appdata\\local\\programs\\python\\python35\\lib', 'C:\\', 'c:\\users\\fridex\\appdata\\local\\programs\\python\\python35\\libs']
      NOT AVAILABLE


    c:\users\fridex\appdata\local\programs\python\python35\lib\site-packages\numpy\distutils\system_info.py:1559: 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\fridex\appdata\local\programs\python\python35\lib\site-packages\numpy\distutils\system_info.py:1562: 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


    Running from scipy source directory.
    Traceback (most recent call last):
      File "", line 1, in
      File "C:\Users\Fridex\AppData\Local\Temp\pip-build-zjjaf2d2\scipy\setup.py", line 415, in
        setup_package()
      File "C:\Users\Fridex\AppData\Local\Temp\pip-build-zjjaf2d2\scipy\setup.py", line 411, in setup_package
        setup(**metadata)
      File "c:\users\fridex\appdata\local\programs\python\python35\lib\site-packages\numpy\distutils\core.py", line 135, in setup
        config = configuration()
      File "C:\Users\Fridex\AppData\Local\Temp\pip-build-zjjaf2d2\scipy\setup.py", line 335, in configuration
        config.add_subpackage('scipy')
      File "c:\users\fridex\appdata\local\programs\python\python35\lib\site-packages\numpy\distutils\misc_util.py", line 1003, in add_subpackage
        caller_level = 2)
      File "c:\users\fridex\appdata\local\programs\python\python35\lib\site-packages\numpy\distutils\misc_util.py", line 972, in get_subpackage
        caller_level = caller_level + 1)
      File "c:\users\fridex\appdata\local\programs\python\python35\lib\site-packages\numpy\distutils\misc_util.py", line 909, in _get_configuration_from_setup_py
        config = setup_module.configuration(*args)
      File "scipy\setup.py", line 15, in configuration
        config.add_subpackage('linalg')
      File "c:\users\fridex\appdata\local\programs\python\python35\lib\site-packages\numpy\distutils\misc_util.py", line 1003, in add_subpackage
        caller_level = 2)
      File "c:\users\fridex\appdata\local\programs\python\python35\lib\site-packages\numpy\distutils\misc_util.py", line 972, in get_subpackage
        caller_level = caller_level + 1)
      File "c:\users\fridex\appdata\local\programs\python\python35\lib\site-packages\numpy\distutils\misc_util.py", line 909, in _get_configuration_from_setup_py
        config = setup_module.configuration(*args)
      File "scipy\linalg\setup.py", line 20, in configuration
        raise NotFoundError('no lapack/blas resources found')
    numpy.distutils.system_info.NotFoundError: no lapack/blas resources found


    ----------------------------------------
Command "c:\users\fridex\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Fridex\\AppData\\Local\\Temp\\pip-build-zjjaf2d2\\scipy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Fridex\AppData\Local\Temp\pip-cch36o_k-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Fridex\AppData\Local\Temp\pip-build-zjjaf2d2\scipy\

免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。

版权声明:作者保留权利,不代表天盟立场。

使用道具 举报

全部参与3

同问啊,急急急。下面说anacoda的打开prompt不管输入什么指令都报错,............sort",

使用道具 举报

同问 今天安装 gensim 中 在安装scipy遇到一样的问题

使用道具 举报

我也遇到了这问题,求教

使用道具 举报

发新帖

发布任务需求已有1031290位用户正在使用天盟网服务

发布分类: *
任务预算: *
需求内容: *
手机号码: *
任务商家报价为
  • 预算价 :
  • 成交价 :
  • 完工期 :
  • 质保期 :

* 最终任务项目以服务商报价、双方协商为准!