How to install pytorch in Anaconda with conda or pip?

后端 未结 9 1252
星月不相逢
星月不相逢 2020-12-16 11:50

I am trying to install pytorch in Anaconda to work with Python 3.5 in Windows. Following the instructions in pytorch.org I introduced the following code in Anaconda:

9条回答
  •  星月不相逢
    2020-12-16 12:25

    For windows python 3.6 and above without cuda

    pip install torch==1.2.0+cpu torchvision==0.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
    

提交回复
热议问题