pip install“无效要求:'numpy-1.13.1 + mkl-cp36-cp36m-win_amd64'”

时间:2017-07-19 22:26:58

标签: python numpy intel-mkl

我在Windows 10机器上,我似乎无法安装numpy + mkl。我不知道发生了什么或为什么这样做。它说最近的Traceback发生了以下错误:

File "..\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\packaging\requirements.py", line 92, in __init__
    req = REQUIREMENT.parseString(requirement_string)"
File "..\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\pyparsing.py", line 1617, in parseString
    raise exc"
  File "..\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\pyparsing.py", line 1607, in parseString
    loc, tokens = self._parse( instring, 0 )
  File "..\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\pyparsing.py", line 1379, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "..\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\pyparsing.py", line 3376, in parseImpl
    loc, exprtokens = e._parse( instring, loc, doActions )
  File "..\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\pyparsing.py", line 1383, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "..\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\pyparsing.py", line 3164, in parseImpl
    raise ParseException(instring, loc, self.errmsg, self)
pip._vendor.pyparsing.ParseException: Expected stringEnd (at char 12), (line:1, col:13)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "..\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_install.py", line 82, in __init__
    req = Requirement(req)
  File "..\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\packaging\requirements.py", line 96, in __init__
    requirement_string[e.loc:e.loc + 8]))
pip._vendor.packaging.requirements.InvalidRequirement: Invalid requirement, parse error at "'+mkl-cp3

我已经坐了好几个小时试图找出这意味着什么。但这对我来说是陌生的。我试图更新它,但它说它已经是最新的。我尝试过使用32位轮,它给了我同样的东西。我该怎么办?

1 个答案:

答案 0 :(得分:0)

我安装了它。

我终于找到了一个链接Answer is 3rd post.

我不知道为什么我发现了这个,但是花了足够长的时间。我需要卸载它,然后给它一个.whl扩展名。当我试图安装它时,我没有注意到它没有.whl扩展名。此外,我必须确保我使用了整个文件位置。