我是python的新手,在Windows 10上使用Anaconda3-5.1.0 我需要安装包kwant,kwant不会为anaconda windows而来,所以我尝试pip安装它,经过一番挣扎和阅读后我发现
kwant-1.3.2-CP36-cp36m-win_amd64.whl
所以它匹配平台,但这个包需要scipy和numpy,这附带anaconda,当我尝试pip安装kwant时,我得到这个
THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
scipy>=0.14 from https://files.pythonhosted.org/packages/62/e2/364f0bcc641aeff79d743c732769d5dc31a1e78c27699229431412c4b425/scipy-1.1.0-cp36-none-win_amd64.whl#sha256=698c6409da58686f2df3d6f815491fd5b4c2de6817a45379517c92366eea208f (from kwant==1.3.2):
Expected sha256 698c6409da58686f2df3d6f815491fd5b4c2de6817a45379517c92366eea208f
Got 7072c63cb59028a73b639b354c0054525b002ef2d87a1d45ed7cdeba736b5cc6
numpy>=1.8.1 from https://files.pythonhosted.org/packages/af/e4/7d7107bdfb5c33f6cf33cdafea8c27d1209cf0068a6e3e3d3342be6f3578/numpy-1.14.3-cp36-none-win_amd64.whl#sha256=560e23a12e7599be8e8b67621396c5bc687fd54b48b890adbc71bc5a67333f86 (from kwant==1.3.2):
Expected sha256 560e23a12e7599be8e8b67621396c5bc687fd54b48b890adbc71bc5a67333f86
Got 143abb1baa1e5a3427ed09a4f52223aa3947bf76ca25dc4c71da0c2ae663040a
正如我所说,我已经更新了scipy和numpy包 所以我怎么能更新HASHES所以我可以使用kwant包
答案 0 :(得分:0)
使用它来安装,no-cache-dir
<iq type="get" id="2346543">
<query xmlns="jabber:iq:roster"></query>
</iq>
这意味着不要使用缓存来进行安装,当我使用Windows 10时也会得到它。玩得开心,将其修复