How to install pytorch in Anaconda with conda or pip?

后端 未结 9 1253
星月不相逢
星月不相逢 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:29

    The following worked for me. First install MKL:

    conda install -c anaconda mkl
    

    After this, install pytorch and torchvision:

    conda install -c pytorch pytorch torchvision
    

提交回复
热议问题