fatal: 无法访问 ‘https://github.com/karpathy/llama2.c/’:Could not resolve host: github.com

ubuntu下载llama2.c仓库时出现fatal: 无法访问 ‘https://github.com/karpathy/llama2.c/’:Could not resolve host: github.com问题

解决方法:

sudo vim /etc/resolv.conf

在此配置文件中加入谷歌提供的DNS域名解析

nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 223.5.5.5
nameserver 223.6.6.6

然后:wq保存

问题解决

扫码领红包

微信赞赏支付宝扫码领红包

发表回复

后才能评论