How to install PyTorch in Python ( Windows 10 )

preview_player
Показать описание
Steps to install PyTorch:

2) Scroll to QUICK START LOCALLY
3) Select the options and copy the installation command
4) Open the command prompt and activate the virtual environment using:
virtual_environment_path\Script\activate
5) Paste and Run the copied installation command
-------------------------------------------------------------------------------------------------------------------------
Verify Installation:

python
import torch
print(x)
-------------------------------------------------------------------------------------------------------------------------
Check for GPU:

Рекомендации по теме
Комментарии
Автор

I get the following error message:

ERROR: Could not find a version that satisfies the requirement torch==1.10.2+cu113 (from versions: none)
ERROR: No matching distribution found for torch==1.10.2+cu113

Please help.

BacardiBlackz
Автор

can not install pytorch to latest python version 3.11, it is allowed in 3.8 only, how to install in latest version?

John-jxho
Автор

I don't know the reason why it was crashed
ERROR: Could not find a version that satisfies the requirement torch==1.10.1+cu102 (from versions: none)
ERROR: No matching distribution found for torch==1.10.1+cu102

could you help me

danielbui
Автор

Select the options and copy the installation command - Can you please paste the command here

khamarunnisapiqbal
Автор

Sir i am getting error...
Can anyone solve it

hiteshkumarprajapati
Автор

what is environment path activation for ?
Thanks

jeremyuzan
Автор

Well explained! Satisfied with the knowledge you shared.

surabhimohan
Автор

Remove your last inserting cards in video

fahimaslam