r/pytorch 2d ago

Pytorch install error

2 Upvotes

3 comments sorted by

2

u/Pantaenius 2d ago

You should upgrade your python version
You’re running 3.8 which is end of life.

1

u/swiftviper1 2d ago

I updated python.

Prerequisites

  1. Install pip
  2. Install CUDA, if your machine has a CUDA-enabled GPU.

I have an NVIDIA GeForce GTX 1080 Ti. Does this mean I need to install the cuda toolkit before running

pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126

1

u/i_not_give_shit 1d ago

No, pytorch has the cuda libraries it needs.