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

AGH-vqis 3.2.1 does not work with python 3.12 #766

Open
mpinson-NTIA opened this issue Jun 3, 2024 · 1 comment
Open

AGH-vqis 3.2.1 does not work with python 3.12 #766

mpinson-NTIA opened this issue Jun 3, 2024 · 1 comment

Comments

@mpinson-NTIA
Copy link

Problem description

a package distutils has been depreciated in python version 3.11, which does not allow pip to install this package

we tried to install setuptools which now also provides distutils, but this avenue threw an error from a subprocess

python 3.10.11 works with 3.2.1

@henryiii
Copy link
Contributor

henryiii commented Jun 3, 2024

That package pins scikit-learn to 1.2.0. A pinned or upper capped version will always break eventually. See https://iscinumpy.dev/post/bound-version-constraints.

However, if you use uv instead of pip, you can get it to install on Python 3.12 like this:

echo "scikit-learn>=1.2" > "overrides.txt"
uv venv
uv pip install AGH-vqis --override overrides.txt

Now the virtualenv at the default location (.venv) will have AGH-vqis installed.

(Also, you should contact the authors about this, as it's not our fault they pinned scikit-learn ;) Also, there's no source code for it and it's only under an evaluation license.)

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

No branches or pull requests

2 participants