package versions have conflicting dependencies.
Thanks for great work!
when I try to install the environment by
pip install -r requirements.txt
It will tell me that package versions have conflicting dependencies. For example,
The conflict is caused by: The user requested scipy==1.4.1 scikit-learn 0.24.0 depends on scipy>=0.19.1 tensorflow 2.3.0 depends on scipy==1.4.1 unbabel-comet 0.1.0 depends on scipy<1.6.0 and >=1.5.0
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip attempt to solve the dependency conflict
or
INFO: pip is looking at multiple versions of pytorch-lightning to determine which version is compatible with other requirements. This could take a while. ERROR: Cannot install -r bartscore_env_requirements.txt (line 63) and fsspec==0.8.7 because these package versions have conflicting dependencies.
The conflict is caused by: The user requested fsspec==0.8.7 pytorch-lightning 1.3.0 depends on fsspec>=2021.4.0
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip attempt to solve the dependency conflict
How can I make it?
I performed the following actions to fix this:
- Create a new conda environment with Python 3.7:
conda install -c anaconda python=3.7 - Comment out the
fsspec==0.8.7,tensorboard==2.5.0, andunbabel-comet==0.1.0lines inrequirements.txtand let pip figure it out itself. -
pip install -r requirements.txt...don't we all love dependency hell? May also help fix #45