报错汇总"/>
linux报错汇总
1. linux 安装pytorch报错
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <.json>
Elapsed: -An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
'https//mirrors.tuna.tsinghua.edu/anaconda/pkgs/main/linux-64'
这大概是安全的问题,你的conda源使用的是https协议,比如我的
“/home/fcgna_xcb/.condarc”
内容如下:
channels:- /
show_channel_urls: true
ssl_verify: false
把每一个https改成http就可以了
更改后的如下:
channels:- /
show_channel_urls: true
ssl_verify: false
2.pip install -U openmim 报错
输入
pip install -U openmim
报错
有可能是服务器在其他国家,需要手动设置
把这三行复制到~/.bashrc里
export http_proxy=http://127.0.0.1:3128
export https_proxy=${http_proxy}
export ftp_proxy=${http_proxy}
source ~/.bashrc
更多推荐
linux报错汇总
发布评论