Open yannis1962 opened 12 months ago
I noticed that other packages have the same problem: https://github.com/aio-libs/aiohttp/issues/6600
This is related to Python 3.11, workaround: use Python 3.10
basically #include "longintrepr.h" is not needed anymore as it is provided by Python.h
I've migrated to the recommendedgcld3
package after all attempts to work around various Python 3.11 build issues. I've managed to build gcld3
for Python 3.11.
For the record, in my case on Debian 12 gcld3
needs the libprotobuf32
package to run. The following packages are needed to build/install gcld3
:
build_essential
libprotobuf_dev
protobuf_compiler
I've migrated to the recommended
gcld3
package after all attempts to work around various Python 3.11 build issues. I've managed to buildgcld3
for Python 3.11.
I still have the longintrepr.h error, how did you manage to get it installed on python 3.11?
I still have the longintrepr.h error, how did you manage to get it installed on python 3.11?
Which package do you try to install when you get the longintrepr.h error?
python --version
Python 3.11.10
python -m pip install -U pycld3
cld3/pycld3.cpp:250:12: fatal error: longintrepr.h: No such file or directory
250 | #include "longintrepr.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
pycld3
won't work with Python 3.11. Please migrate to another package named gcld3
.
Thanks that worked, sorry this was confusing i thought gcld3 is the "old" package. However, thank you very much!!
When I try to install pycld3 under python3.11, I get
What am I doing wrong?