how would someone install pytorch using pip on python 3.9?

Viewed 9314

when i tried the command the website used pip install torch==1.7.0+cpu torchvision==0.8.1+cpu torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html

and it returned the error code

ERROR: Could not find a version that satisfies the requirement torch==1.7.0+cpu (from versions: 0.1.2, 
0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch==1.7.0+cpu

even when i change the code to satisfy the requirement it comes up with more errors like ModuleNotFoundError: No module named 'tools.setup_helpers'

1 Answers
Related