I tried installing depedencies with the current requirements.txt.
I ran this on windows 10 and python 3.8.
But pip couldn't find appopriate versions of needed modules.
ERROR: Cannot install -r requirements.txt (line 4), scikit-learn~=0.24.2, torchmetrics~=0.5.1 and torch~=1.8.1 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested torchmetrics~=0.5.1
pytorch-lightning 1.2.10 depends on torchmetrics==0.2.0
The user requested torchmetrics~=0.5.1
pytorch-lightning 1.2.9 depends on torchmetrics==0.2.0
The user requested torch~=1.8.1
pytorch-lightning 1.0.5 depends on torch<1.8 and >=1.3
pytorch-lightning 0.6.0 depends on torchvision<0.5 and >=0.4.0
pytorch-lightning 0.5.3.3 depends on torchvision<0.5 and >=0.4.0
The user requested scikit-learn~=0.24.2
pytorch-lightning 0.5.3.2 depends on scikit-learn==0.20.2
The user requested scikit-learn~=0.24.2
pytorch-lightning 0.5.3.1 depends on scikit-learn==0.20.2
The user requested scikit-learn~=0.24.2
pytorch-lightning 0.5.3 depends on scikit-learn==0.20.2
The user requested torch~=1.8.1
pytorch-lightning 0.5.0 depends on torch==1.2.0
The user requested torch~=1.8.1
pytorch-lightning 0.4.9 depends on torch==1.2.0
The user requested torch~=1.8.1
pytorch-lightning 0.4.8 depends on torch==1.2.0
The user requested torch~=1.8.1
pytorch-lightning 0.4.7 depends on torch==1.2.0
The user requested torch~=1.8.1
pytorch-lightning 0.4.6 depends on torch==1.2.0
The user requested torch~=1.8.1
pytorch-lightning 0.4.5 depends on torch==1.2.0
The user requested torch~=1.8.1
pytorch-lightning 0.4.4 depends on torch==1.2.0
The user requested torch~=1.8.1
pytorch-lightning 0.4.3 depends on torch==1.2.0
The user requested torch~=1.8.1
pytorch-lightning 0.4.2 depends on torch==1.2.0
The user requested torch~=1.8.1
pytorch-lightning 0.4.1 depends on torch==1.1.0
pytorch-lightning 0.2.2 depends on test-tube>=0.653
pytorch-lightning 0.2 depends on test-tube>=0.653
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
(grin) C:\Users\verys\PycharmProjects\grin>pip install pytorch_lightning
Collecting pytorch_lightning
Using cached pytorch_lightning-1.5.10-py3-none-any.whl (527 kB)
Collecting setuptools==59.5.0
Using cached setuptools-59.5.0-py3-none-any.whl (952 kB)
Collecting future>=0.17.1
Using cached future-0.18.2.tar.gz (829 kB)
Collecting packaging>=17.0
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting pyDeprecate==0.3.1
Using cached pyDeprecate-0.3.1-py3-none-any.whl (10 kB)
Requirement already satisfied: typing-extensions in c:\users\verys\anaconda3\envs\grin\lib\site-packages (from pytorch_lightning) (3.10.0.2)
Collecting fsspec[http]!=2021.06.0,>=2021.05.0
Using cached fsspec-2022.2.0-py3-none-any.whl (134 kB)
Collecting torchmetrics>=0.4.1
Using cached torchmetrics-0.7.2-py3-none-any.whl (397 kB)
Requirement already satisfied: tensorboard>=2.2.0 in c:\users\verys\anaconda3\envs\grin\lib\site-packages (from pytorch_light