Pytorch Environment
1.add source
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
2.install components
- opencv
conda install --channel https://conda.anaconda.org/menpo opencv
- pytorch
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
3.issues
- cannot import name ‘PILLOW_VERSION’ from ‘PIL’
conda install pillow=6.1
- ModuleNotFoundError: No module named ‘yacs’
anaconda search -t conda yacs
conda install --channel https://conda.anaconda.org/conda-forge yacs