NJU1healer的个人博客分享 http://blog.sciencenet.cn/u/NJU1healer

博文

THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS

已有 10979 次阅读 2020-5-26 23:20 |个人分类:Coding bug|系统分类:科研笔记

问题:由于网速等原因,需要重复使用命令:【pip install tensorflow】安装tensorflow,此时看你会报错:


THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE


解决:使用命令【pip install --upgrade tensorflow】即可解决。

————————————————

原文链接:https://blog.csdn.net/lincoco49/article/details/85381383


在安装gensim包时尝试直接使用pycharm的setting安装,但是出现了报错:


pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

1

应是网络连接问题,转而用cmd来pip安装,又出现了以下错误:


ERROR: 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.

    gensim from https://files.pythonhosted.org/packages/09/ed/b59a2edde05b7f5755ea68648487c150c7c742361e9c8733c6d4ca005020/gensim-3.8.1-cp37-cp37m-win_amd64.whl#sha256=36518200175c708e762f5763f34b1e5a6b64e7844f2c172afd480231361192fd:

        Expected sha256 36518200175c708e762f5763f34b1e5a6b64e7844f2c172afd480231361192fd

             Got        be8adfd8e678d14915520808ee51722490ad890f55a217e06e36f44a67432db2


解决方法:输入

pip install --upgrade --default-timeout=1000 gensim


最终成功进行安装!

————————————————

原文链接:https://blog.csdn.net/weixin_39082274/article/details/104384862




https://wap.sciencenet.cn/blog-3428464-1235110.html

上一篇:在python中安装包出现Retrying (Retry(total=4, connect=None, read=Non
下一篇:两台电脑之间共享文件
收藏 IP: 118.74.245.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

全部作者的其他最新博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-29 19:26

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部