自学内容网 自学内容网

复现ConvE遇到问题:spodernet安装不上

问题:
(py37) D:\Python\CodeHub\MTL\Siamese_MTL\ConvE>pip install -r requirements.txt
Obtaining spodernet from git+git://github.com/TimDettmers/spodernet.git#egg=spodernet (from -r requirements.txt (line 2))
Cloning git://github.com/TimDettmers/spodernet.git to d:\python\codehub\mtl\siamese_mtl\conve\src\spodernet
Running command git clone --filter=blob:none --quiet git://github.com/TimDettmers/spodernet.git ‘D:\Python\CodeHub\MTL\Siamese_MTL\ConvE\src\spodernet’
fatal: unable to connect to github.com:
github.com[0: 20.205.243.166]: errno=Unknown error

error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet git://github.com/TimDettmers/spodernet.git ‘D:\Python\CodeHub\MTL\Siamese_MTL\ConvE\src\spodernet’ 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.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet git://github.com/TimDettmers/spodernet.git ‘D:\Python\CodeHub\MTL\Siamese_MTL\ConvE\src\spodernet’ 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.

解决方法:

git config --global url.https://github.com/.insteadOf git://github.com/

原文地址:https://blog.csdn.net/weixin_45897706/article/details/136466187

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!