Arbug 2023-04-08 11:53 采纳率: 100%
浏览 24
已结题

安装requirements.txt失败

pip install -r requirements.txt
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting keras-contrib@ git+https://www.github.com/keras-team/keras-contrib.git@3fc5ef709e061416f4bc8a92ca3750c824b5d2b0
Cloning https://www.github.com/keras-team/keras-contrib.git (to revision 3fc5ef709e061416f4bc8a92ca3750c824b5d2b0) to c:\users\yangs\appdata\local\temp\pip-install-lmz2eveq\keras-contrib_c3d45f17d3224e6badb55e499c4fe6ec
Running command git clone --filter=blob:none --quiet https://www.github.com/keras-team/keras-contrib.git 'C:\Users\yangs\AppData\Local\Temp\pip-install-lmz2eveq\keras-contrib_c3d45f17d3224e6badb55e499c4fe6ec'
fatal: unable to access 'https://www.github.com/keras-team/keras-contrib.git/': OpenSSL SSL_connect: Connection was reset in connection to github.com:443
error: subprocess-exited-with-error

note: This error originates from a subprocess, and is likely not a problem with pip.error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://www.github.com/keras-team/keras-contrib.git 'C:\Users\yangs\AppData\Local\Temp\pip-install-lmz2eveq\keras-contrib_c3d45f17d3224e6badb55e499c4fe6ec' did not run successfully.│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

  • 写回答

2条回答 默认 最新

  • callinglove 2023-04-08 14:46
    关注

    问题分析,你使用了国内源加速了,然后安装过程中却去github上下载安装包,出现报错的情况,推荐 Watt Toolkit 去Windows Store去下载安装 https://apps.microsoft.com/store/detail/watt-toolkit/9MTCFHS560NG?hl=zh-cn&gl=cn 然后在pip安装

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论 编辑记录
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 4月16日
  • 已采纳回答 4月8日
  • 创建了问题 4月8日

悬赏问题

  • ¥20 wireshark抓不到vlan
  • ¥20 关于#stm32#的问题:需要指导自动酸碱滴定仪的原理图程序代码及仿真
  • ¥20 设计一款异域新娘的视频相亲软件需要哪些技术支持
  • ¥15 stata安慰剂检验作图但是真实值不出现在图上
  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来