Q1.conda 安裝太慢總中斷?
答:anaconda 切換到國內清華鏡像。
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
//隨手記錄一下pytorch和torchvision的安裝方法
打開 C:\Users\用戶名.condarc
刪除其中的-default
Q2.Solving environment: failed with initial frozen solve. Retrying with flexible solve.
答:更新操作。
更新conda到最新版本
conda update -n base conda
conda update -n base conda
檢查一下conda版本是否到最新版本,如果不是最新則重複上一步
conda -V
最後更新的一下conda安裝的包的版本
conda update --all