While I was trying to deploy a web app I was getting this error :
ERROR: Could not find a version that satisfies the requirement torch==1.9.0+cu102 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2, 0.4.1, 0.4.1.post2, 1.0.0, 1.0.1, 1.0.1.post2, 1.1.0, 1.2.0, 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0)
ERROR: No matching distribution found for torch==1.9.0+cu102
WARNING: You are using pip version 21.1.1; however, version 21.1.2 is available.
You should consider upgrading via the ‘/home/appuser/venv/bin/python -m pip install --upgrade pip’ command.
My requirements.txt has following :
streamlit==0.83.0 | |
---|---|
pandas==1.0.5 | |
torch == 1.9.0+cu102 | |
Pillow==7.1.2 | |
matplotlib==3.2.1 | |
torchvision == 0.10.0+cu102 | |
numpy==1.18.5 | |
opencv-python==4.4.0.42 |
How can I solve this . @Creators