-
Notifications
You must be signed in to change notification settings - Fork 564
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
Error on install_longintrepr.h #998
Comments
Installing |
Same error here: Fedora 37, python 3.11.1, tried to install GPy 1.10.0 via pip. Apparently there are no binary wheels available for python 3.11 (and 3.100, too). Pip then tries to locally build GPy, and there is this failure (which is due to changes in CPython):
|
(hasty notes) |
The real fix is for someone to run cython on each of the .pyx files in the repository, and replacing the generated .c files in the repository. |
Hi, are there any plans to support python 3.11? This is going to be a progressively bigger issue as times goes by. Is some help needed? |
Note for whoever is following this issue: the closer fix seems to be this PR: #1020. |
I came across this error while trying to install on Python 3.11 or Python 3.10:
Solution I found: download sources from git, link like
ln -s /usr/include/python3.10/cpython/longintrepr.h longintrepr.h
and build GPy.It still doesn't build in Python 3.11 due API changes like this one:
but soft-linking longintrepr.h allows successful building with Python 3.10.
The text was updated successfully, but these errors were encountered: