报错如下:

fatal: unable to access 'https://www.modelscope.cn/ZhipuAI/glm-4-9b-chat.git/': Failed to connect to 127.0.0.1 port 7890 after 2049 ms: Couldn't connect to server

解决办法:

第一步,先把网路代理关掉

第二步:输入命令

git config --global http.proxy

接着输入 

 git config --global --unset http.proxy

此时再输入git命令,即可拉取成功

$ git clone https://www.modelscope.cn/ZhipuAI/glm-4-9b-chat.git
Cloning into 'glm-4-9b-chat'...
remote: Enumerating objects: 74, done.
remote: Counting objects: 100% (74/74), done.
remote: Compressing objects: 100% (43/43), done.
Receiving objects:  59% (44/74)used 71 (delta 29), pack-reused 0
Receiving objects: 100% (74/74), 34.53 KiB | 8.63 MiB/s, done.
Resolving deltas: 100% (32/32), done.

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部