Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install summit fails with python 3.10 due to requirements #162

Closed
ddceruti opened this issue Oct 22, 2021 · 3 comments · Fixed by #199
Closed

pip install summit fails with python 3.10 due to requirements #162

ddceruti opened this issue Oct 22, 2021 · 3 comments · Fixed by #199

Comments

@ddceruti
Copy link

  • 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
@marcosfelt
Copy link
Member

Thanks for flagging this up! I didn't even python 3.10 was available. Is this only an issue on 3.10?

@ddceruti
Copy link
Author

Hi again, yes, it is only an issue on 3.10!

This was referenced Apr 25, 2022
@marcosfelt
Copy link
Member

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 (pytorch/pytorch#66424). I'll leave this issue open, so I can upgrade when pytorch does so.

@marcosfelt marcosfelt pinned this issue Apr 25, 2022
@marcosfelt marcosfelt unpinned this issue Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants