Wget下载报错

正在解析主机 mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)... 111.61.15.130, 2445:f034:1:434::2
正在连接 mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)|111.61.15.130|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 403 Forbidden
2024-07-26 09:51:19 错误 403:Forbidden。

原因:

服务器正在检查引用者,部分 HTTP 请求会得到错误响应。不以 Mozilla 开头或不包含 Wget 的用户代理的请求会被拒绝。

解决方案:

wget --user-agent=“Mozilla” + 要下载的链接

wget --user-agent="Mozilla" https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2023.09-0-Linux-x86_64.s


参考文章
在云服务器部署jupyter notebook及jupyter lab(腾讯云|centos)

Jupyter Notebook快速搭建

解决wget报错

End

本文标题: linux安装jupyter教程

本文链接: https://blog.kisenhz.cn/archives/18.html

除非另有说明,本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议

声明:转载请注明文章来源。

最后修改:2024 年 12 月 15 日
如果觉得我的文章对你有用,请随意赞赏