GPU 创建虚拟环境报错:
root@user-X660-G45:/# conda create -n ptname python=3.8
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pk
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.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
SSLError(MaxRetryError(‘HTTPSConnectionPool(host=‘repo.anaconda.com’, port=443rch/repodata.json.bz2 (Caused by SSLError(SSLError(“bad handshake: Error([(‘SSLcertificate verify failed’)])”)))’))
解决办法: linux 切换到~目录下,更改ssl 命令为:conda config --set ssl_verify false