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