赞
踩
问题:
(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/
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。