为了账号安全,请及时绑定邮箱和手机立即绑定

PYthon用pip安装scipy和wxPython报相同的错误,报错信息完全看不懂,网上搜遍了也找不到类似的问题,求助

PYthon用pip安装scipy和wxPython报相同的错误,报错信息完全看不懂,网上搜遍了也找不到类似的问题,求助

svc124 2016-10-22 10:49:56
C:\Users\Fridex>pip install wx Collecting 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 "<string>", line 1, in <module>       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 scipyCollecting scipy  Using cached scipy-0.18.1.tar.gzInstalling 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)    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>      NOT AVAILABLE    atlas_3_10_info:    <class 'numpy.distutils.system_info.atlas_3_10_info'>      NOT AVAILABLE    atlas_threads_info:    Setting PTATLAS=ATLAS    <class 'numpy.distutils.system_info.atlas_threads_info'>      NOT AVAILABLE    atlas_info:    <class 'numpy.distutils.system_info.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 "<string>", line 1, in <module>      File "C:\Users\Fridex\AppData\Local\Temp\pip-build-zjjaf2d2\scipy\setup.py", line 415, in <module>        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\
查看完整描述

4 回答

?
qq_悦动倾心_0

TA贡献1条经验 获得超0个赞

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

查看完整回答
反对 回复 2017-05-25
?
qq_广为人知_0

TA贡献1条经验 获得超0个赞

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

查看完整回答
反对 回复 2017-05-14
?
風静

TA贡献1条经验 获得超0个赞

我也遇到了这问题,求教

查看完整回答
反对 回复 2017-05-13
  • 4 回答
  • 0 关注
  • 19883 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信