How to install pytorch in windows?

前端 未结 16 2062
时光取名叫无心
时光取名叫无心 2020-12-05 19:52

I am trying to install pytorch on windows and there is one which is available for it but shows an error.

conda install -c peterjc123 pytorch=0.1.12
         


        
16条回答
  •  旧时难觅i
    2020-12-05 20:30

    go to the official website: http://pytorch.org/

    1. Select Windows as your operating system
    2. Select your Package Manager such as pip or conda
    3. Select you python version
    4. Select CUDA or choose none You will get the command that will install pytorch on your system based on your selection.

    For example, if you choose Windows, pip, python 3.6 and none in the listed steps, you will get the following commands:

    pip3 install http://download.pytorch.org/whl/cpu/torch-0.4.0-cp36-cp36m-win_amd64.whl 
    pip3 install torchvision
    

提交回复
热议问题