Open danaki opened 1 year ago
same issue My Python is 3.11.3, on Mac Intel
Same here on Python 3.11.6 on docker (Alpine 3.18).
Hamming-codec doesn't build on Python 3.11 or 3.12 because the python API has changed. Updating to the latest pybind11 (2.12.0) should fix it.
diff --git a/exts/pybind11 b/exts/pybind11 index 79b0e2c..aa98d95 160000 --- a/exts/pybind11 +++ b/exts/pybind11 @@ -1 +1 @@ -Subproject commit 79b0e2c05206865fe12a1ef95552e059913c1855 +Subproject commit aa98d95717d1365b5c32d3942abd0292fbd19021
Here, try my fork: https://github.com/fegennari/hamming-codec This is tested and working with Python 3.12 and will probably work with 3.11 as well.
The issue is similar to this https://github.com/sirfz/tesserocr/issues/298 While pip-installing hamming-codec package getting
My Python is 3.11.3, on Apple Silicon M1.