Python:3.6
conda create --name py36pt10 python=3.6
PyTorch:1.0.0
conda install -n py36pt10 pytorch=1.2.0
Pillow:5.2.0
conda install -n py36pt10 pillow=5.2.0
Scipy版本太高会报错:from scipy.misc import imread,ImportError:No module named ‘imread‘
SciPy:1.1.0
conda install -n py36pt10 scipy=1.1.0
CUDA版本太高会报错:undefined symbol: __cudaPopCallConfiguration
CUDA9.0安装方法参考:https://blog.csdn.net/qq_25241325/article/details/90753830 ; https://developer.nvidia.com/cuda-90-download-archive ;
OpenCV-Python:
conda install -n py36pt10 --channel https://conda.anaconda.org/menpo opencv3
Cython:
conda install -n py36pt10 Cython
Easydict:
(py36pt10) ubuntu@ubuntu:~$ pip install easydict
TorchVision:
conda install -n py36pt10 torchvision
Matplotlib:
原文:https://www.cnblogs.com/ratels/p/12492758.html