pytorch配置过程遇到的问题:
问题描述
1、tensorflow选择20.0:
2、python选择3.6
3、Anaconda module ‘brotli‘ has no attribute ‘error‘
conda install brotlipy
4、AttributeError: module ‘distutils’ has no attribute ‘version’。
conda install setuptools=58.2.0
5、jupyter notebook时内核繁忙
强制安装了ipython和ipykerne新版本
pip install --ignore-installed ipython --upgrade
pip install --ignore-installed ipykernel --upgrade
6、解决CondaHTTPError: HTTP 000 CONNECTION FAILED for url
参考博客
修改.conda文件
ssl_verify: true
show_channel_urls: true
channels:
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/