metadriverse / metadrive

MetaDrive: Open-source driving simulator
https://metadriverse.github.io/metadrive/
Apache License 2.0
678 stars 100 forks source link

git install issue #664

Open CarlDegio opened 4 months ago

CarlDegio commented 4 months ago

clone metadrive git repo or fetch will lead to an error:

remote: Enumerating objects: 791, done.
remote: Counting objects: 100% (750/750), done.
remote: Compressing objects: 100% (416/416), done.
error: RPC 失败。curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 预期仍然需要 7614 个字节的正文
fetch-pack: unexpected disconnect while reading sideband packet
fatal: 过早的文件结束符(EOF)
fatal: fetch-pack:无效的 index-pack 输出

This affects installing pip via git (pip install git+), git config --global http.postBuffer 20000000 will not make pip valid.

I'm not sure if the repo is too big causing this problem?

QuanyiLi commented 4 months ago

It works from my side. And we have a unit test for checking this and it works fine as well. So I guess there might be something wrong on your side.

AIDefender commented 4 months ago

It might be related to the poor network connection to github.

neugzy commented 5 days ago

Most likely it's a network issue. You can try several times at different times, and I've also encountered this problem. 大概率是网络问题,可以在不同时间段多尝试几次,我也遇到了这个问题。