-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Installation fails with pip with the following error
(C:\Users\Karthik\colearn) C:\Users\Karthik\Desktop\Base\colearn>pip install colearn[pytorch]
Collecting colearn[pytorch]
Using cached colearn-0.2.6-py3-none-any.whl (113 kB)
Collecting pydantic~=1.7.0
Using cached pydantic-1.7.4-cp37-cp37m-win_amd64.whl (1.7 MB)
Collecting matplotlib~=3.3.0
Using cached matplotlib-3.3.4-cp37-cp37m-win_amd64.whl (8.5 MB)
Collecting numpy~=1.16.0
Using cached numpy-1.16.6-cp37-cp37m-win_amd64.whl (11.9 MB)
Collecting google-cloud-storage~=1.35.0
Using cached google_cloud_storage-1.35.1-py2.py3-none-any.whl (96 kB)
Collecting torch~=1.7.0; extra == "pytorch"
Using cached torch-1.7.1-cp37-cp37m-win_amd64.whl (184.1 MB)
Collecting opacus~=0.10.0; extra == "pytorch"
Using cached opacus-0.10.1-py3-none-any.whl (84 kB)
Collecting scikit-learn~=0.23.0; extra == "pytorch"
Using cached scikit_learn-0.23.2-cp37-cp37m-win_amd64.whl (6.8 MB)
Collecting Pillow~=8.0.1; extra == "pytorch"
Using cached Pillow-8.0.1-cp37-cp37m-win_amd64.whl (2.1 MB)
Collecting scipy~=1.5.0; extra == "pytorch"
Using cached scipy-1.5.4-cp37-cp37m-win_amd64.whl (31.2 MB)
ERROR: Could not find a version that satisfies the requirement torchvision~=0.8.0; extra == "pytorch" (from colearn[pytorch]) (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.3.0, 0.4.1, 0.5.0, 0.9.0,0.9.1, 0.10.0)
ERROR: No matching distribution found for torchvision~=0.8.0; extra == "pytorch" (from colearn[pytorch])
Steps to reproduce the behavior:
- pip install colearn[pytorch]
- OS:Windows
- Version [e.g. 22]
Was able to resolve this by cloning the repo, updating the setup.py to look for torchvision 0.9.0 instead of 0.8.0 and finally installed via local pip install.