Cannot install torch==2.2.2+cu121 on Ubuntu 22.04 / conda
vsigal opened this issue · 1 comments
vsigal commented
Got : ERROR: Could not find a version that satisfies the requirement torch==2.2.2+cu121
Solved it by executing command :
conda install pytorch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 pytorch-cuda=11.8 -c pytorch -c nvidia
and removing three lines in file requirements.txt :
torch==2.2.2+cu121
torchaudio==2.2.2+cu121
torchvision==0.17.2+cu121
reid41 commented
thanks for testing, seems thecuda
cannot directly use for the dependencies.. I will remove the cuda
pkg in requirements.txt