summit
summit copied to clipboard
pip install summit fails with python 3.10 due to requirements
- Operating System: Windows 10
- Python version: 3.10
- summit version used: pypi version (0.8.3)
Description
Was trying to install summit through anaconda for python 3.10 but recieved a ResolutionImpossible error. Succeeded when installing summit with python version 3.7.
What I Did
conda create -n test_summit_310 python=3.10
conda activate test_summit_310
pip install summit
....
ERROR: Cannot install summit==0.5.0, summit==0.6.0, summit==0.8.0, summit==0.8.1, summit==0.8.2 and summit==0.8.3 because these package versions have conflicting dependencies.
The conflict is caused by:
summit 0.8.3 depends on scikit-learn<0.25.0 and >=0.24.1
summit 0.8.2 depends on scikit-learn<0.25.0 and >=0.24.1
summit 0.8.1 depends on scikit-learn<0.25.0 and >=0.24.1
summit 0.8.0 depends on scikit-learn<0.25.0 and >=0.24.1
summit 0.6.0 depends on gryffin<0.2.0 and >=0.1.1
summit 0.5.0 depends on numpy==1.18.0
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
Thanks for flagging this up! I didn't even python 3.10 was available. Is this only an issue on 3.10?
Hi again, yes, it is only an issue on 3.10!
It took me a while to get around to this. I merged in a PR that removes python 3.10 support due to pytorch not supporting python 3.10 (https://github.com/pytorch/pytorch/issues/66424). I'll leave this issue open, so I can upgrade when pytorch does so.