【问题标题】:Can't install Scipy properly无法正确安装 Scipy
【发布时间】:2017-05-22 07:43:33
【问题描述】:

全部!

我在安装 scipy 时遇到了一个问题。

Command 
"C:\Users\jcajandi\AppData\Local\Continuum\Anaconda\envs\py35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\jcajandi\\AppData\\Local\\Temp\\pip-build-805uir10\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\jcajandi\AppData\Local\Temp\pip-54j3kyss-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\jcajandi\AppData\Local\Temp\pip-build-805uir10\scipy\

我无法理解这一点。我应该怎么做才能完成安装?

【问题讨论】:

  • conda install scipy 是要走的路。

标签: anaconda


【解决方案1】:

我发现conda install scipy 可以解决问题,但会在导入 numpy.需要在 _config.py 文件中的文件路径前加上 'r'。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-01-17
    • 1970-01-01
    • 2020-04-15
    • 2017-11-12
    • 2020-12-13
    • 2020-09-23
    • 2020-01-29
    • 2020-08-20
    相关资源
    最近更新 更多