miniconda创建新环境出错
错误1:
在prompt创建新环境是报错:
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/current_repodata.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.cn/anaconda/pkgs/main/win-64'
解决方法:
打开C:\用户\username.condarc,将其中的https修改为http即可
错误2
执行pip install mxnet命令时遇到Traceback (most recent call last):错误
解决方法
网上查到可能时网速问题,但是换源处理后依然报错。又观察了一下,发现有一句
ValueError: check_hostname requires server_hostname
又试着关闭了代理服务器,正常运行一小会后,又出现了新的错误
Building wheel for numpy (setup.py) ... error
ERROR: Command errored out with exit status 1:
查阅文章发现是因为numpy库的版本不适用于python版本
我的python版本和cpu架构如下(cmd输入python命令即可)
参照这篇博客选择合适版本,numpy成功安装!
再尝试pip install mxnet
还是同样的错QAQ
接着尝试指定低版本号
出现了新错误
接着再降低版本号,成功了。
over,应该没有人比我遇到的错误更多吧,汗。