conda 安装本地pytorch

win10 

conda install pytorch torchvision cudatoolkit=10.2 -c pytorch

wget https://conda.anaconda.org/pytorch/win-64/pytorch-1.5.1-py3.7_cuda102_cudnn7_0.tar.bz2

放到D:\anaconda3\pkgs

安装 conda install --use-local D:\anaconda3\pkgs\pytorch-1.5.1-py3.7_cuda102_cudnn7_0.tar.bz2

 

 

 

你可能感兴趣的:(python)