我有
Windows 10,我正在尝试安装scipy.目前,我尝试过pip,但它给出了一个错误
Command "c:\python27\python.exe -u -c "import setuptools,tokenize;__file__='c:\\users\\kanika\\appdata\\local\\temp\\pip-build-4jzyxl\\scipy\\setup.py';exec(compile(getattr(tokenize,'open',open)(__file__).read().repl
然后我从http://www.lfd.uci.edu/~gohlke/pythonlibs/下载了scs-1.2.6-cp27-cp27m-win_amd64
并尝试运行此pip install scs-1.2.6-cp27-cp27m-win_amd64
但仍然有错误
Could not find a version that satisfies the requirement scs-1.2.6-cp27-cp27m-win_amd64 (from versions: ) No matching distribution found for scs-1.2.6-cp27-cp27m-win_amd64
我该如何安装scipy?我有笨蛋
更新1-:我能够安装scipy但现在我收到了错误 – :
No module named numpy+mkl
所以我从同一个链接下载了numpy-1.11.2 mkl-cp27-cp27m-win_amd64.whl.但我得到这个错误 – :
Invalid requirement: 'numpy-1.11.2+mkl-cp27-cp27m-win_amd64' Traceback (most recent call last): File "c:\python27\lib\site-packages\pip\req\req_install.py",line 78,in __init__ req = Requirement(req) File "c:\python27\lib\site-packages\pip\_vendor\packaging\requirements.py",line 96,in __init__ requirement_string[e.loc:e.loc + 8])) InvalidRequirement: Invalid requirement,parse error at "'+mkl-cp2'"
为什么我会收到此错误?
这不是scipy你要安装这是
原文链接:https://www.f2er.com/windows/364189.html(unstable),a C package for solving large-scale convex cone problems.
Requires numpy+mkl..
在Windows 64位上安装scipy使用非官方Windows二进制文件用于Python扩展包以避免错误你可以从Scipy下载.whl文件它的名字scipy-0.18.1-cp27-cp27m-win_amd64.whl然后去使用cmd下载文件的位置类型 :
pip install scipy-0.18.1-cp27-cp27m-win_amd64.whl
解决新的错误下载Numpy MKL从here文件名是numpy-1.11.2 mkl-cp27-cp27m-win_amd64.whl