-
Notifications
You must be signed in to change notification settings - Fork 63
Deprecated use of Py_Initialize in gdlpython.cpp #1593
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
Comments
Thanks @Csega |
Hi @GillesDuvert, thanks for the quick response! Maybe it is trivial, but my working config just stopped compiling GDL once with the following (linking) error:
I tried to Google it, but could not find anything useful. Could you help me please figure out, what's wrong with it? CMAKE finds HDF5 without any problems. I use Ubuntu 22.04. However, I found one thing, which I don't understand. The error message says HDF5_SERIAL_1.8.7, but I have HDF5 1.10.7 installed (according to the h5cc -showconfig command). |
Beats me, but I see https://linux.debian.user.narkive.com/nn2DnBNU/trilinos-build-from-source-code where it would seem the hdf5-dev is mandatory? |
I carefully check on my laptop (u22.04) which hdf5 we have when compiling with the script :
Seems to be the same than you, and I do have python too ... |
Hi, and apologies for the slow response. I recall having had an issue with CMake and HDF5 on my Ubuntu 20.04 at work. My workaround was to remove the 'QUIET' |
If removing QUIET is confirmed, this is more than easily done and not harmful anyway. |
Hi All,
the latest Windows build in GitHub actions gives the following error (which is actually Python-specific):
I just checked the Python documentation and it seems, that starting from 3.11, the old init API is deprecated. The new (config) API is there from 3.8 and they want to support only the new one ([https://github.com/python/cpython/issues/88279](see the issue about this)). I found the following pages, which IMO can help:
I also found a code segment on GitHub, which can help implement the new method: [https://github.com/RfidResearchGroup/proxmark3/pull/1833/files](code here).
Since I am not able to compile GDL right now, can anyone look into this? If you help me solve my compiling issues, I can also look into this, gladly.
Cheers,
Csega
The text was updated successfully, but these errors were encountered: