xshell連線tx1,git clone出現.git/info/refs not valid: is this a git repository?

qq_43158129發表於2020-11-09
li@TX1-ubuntu:~$  pip install -U 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'
Collecting git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI
  Cloning https://github.com/cocodataset/cocoapi.git to /tmp/pip-req-build-ea2b6ans
ERROR: Command errored out with exit status 128: git clone -q https://github.com/cocodataset/cocoapi.git /tmp/pip-req-build-ea2b6ans Check the logs for full command output.
li@TX1-ubuntu:~$ git clone https://github.com/cocodataset/cocoapi
Cloning into 'cocoapi'...
warning: redirecting to http://172.16.200.13/chkuser?url=github.com/cocodataset/cocoapi/
fatal: http://172.16.200.13/chkuser?url=github.com/cocodataset/cocoapi/info/refs not valid: is this a git repository?

本來以為是git賬號密碼錯了,嘗試了修改還是不行,最後發現可能是因為校園網的問題
參考這個神奇的問題
給tx1接上螢幕然後用瀏覽器開啟git網頁就可以了,這天天遇到的都是什麼奇葩問題呀!

相關文章