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

Installing package not possible under python 3.12 #224

Open
asusdisciple opened this issue Dec 17, 2024 · 1 comment
Open

Installing package not possible under python 3.12 #224

asusdisciple opened this issue Dec 17, 2024 · 1 comment

Comments

@asusdisciple
Copy link

Not possible to install this repo with python 3.12 on linux atm. Getting g++ / cython comiler bugs when doing pip install imagededup

@AliSot2000
Copy link

I'm getting the following error:

Building wheels for collected packages: imagededup
  Building wheel for imagededup (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for imagededup (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [261 lines of output]
      /tmp/pip-build-env-6v5iuoz5/overlay/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options
      !!

              ********************************************************************************
              Usage of dash-separated 'description-file' will not be supported in future
              versions. Please use the underscore name 'description_file' instead.

              By 2025-Mar-03, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.

              See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
              ********************************************************************************

      !!
        opt = self.warn_dash_deprecation(opt, section)
      running bdist_wheel
      running build
      running build_py
      creating build/lib.linux-x86_64-cpython-312/imagededup
      copying imagededup/__init__.py -> build/lib.linux-x86_64-cpython-312/imagededup
      creating build/lib.linux-x86_64-cpython-312/imagededup/evaluation
      copying imagededup/evaluation/__init__.py -> build/lib.linux-x86_64-cpython-312/imagededup/evaluation
      copying imagededup/evaluation/evaluation.py -> build/lib.linux-x86_64-cpython-312/imagededup/evaluation
      creating build/lib.linux-x86_64-cpython-312/imagededup/handlers
      copying imagededup/handlers/__init__.py -> build/lib.linux-x86_64-cpython-312/imagededup/handlers
      creating build/lib.linux-x86_64-cpython-312/imagededup/methods
      copying imagededup/methods/__init__.py -> build/lib.linux-x86_64-cpython-312/imagededup/methods
      copying imagededup/methods/cnn.py -> build/lib.linux-x86_64-cpython-312/imagededup/methods
      copying imagededup/methods/hashing.py -> build/lib.linux-x86_64-cpython-312/imagededup/methods
      creating build/lib.linux-x86_64-cpython-312/imagededup/utils
      copying imagededup/utils/__init__.py -> build/lib.linux-x86_64-cpython-312/imagededup/utils
      copying imagededup/utils/data_generator.py -> build/lib.linux-x86_64-cpython-312/imagededup/utils
      copying imagededup/utils/general_utils.py -> build/lib.linux-x86_64-cpython-312/imagededup/utils
      copying imagededup/utils/image_utils.py -> build/lib.linux-x86_64-cpython-312/imagededup/utils
      copying imagededup/utils/logger.py -> build/lib.linux-x86_64-cpython-312/imagededup/utils
      copying imagededup/utils/plotter.py -> build/lib.linux-x86_64-cpython-312/imagededup/utils
      creating build/lib.linux-x86_64-cpython-312/imagededup/handlers/metrics
      copying imagededup/handlers/metrics/__init__.py -> build/lib.linux-x86_64-cpython-312/imagededup/handlers/metrics
      copying imagededup/handlers/metrics/classification.py -> build/lib.linux-x86_64-cpython-312/imagededup/handlers/metrics
      copying imagededup/handlers/metrics/information_retrieval.py -> build/lib.linux-x86_64-cpython-312/imagededup/handlers/metrics
      creating build/lib.linux-x86_64-cpython-312/imagededup/handlers/search
      copying imagededup/handlers/search/__init__.py -> build/lib.linux-x86_64-cpython-312/imagededup/handlers/search
      copying imagededup/handlers/search/bktree.py -> build/lib.linux-x86_64-cpython-312/imagededup/handlers/search
      copying imagededup/handlers/search/brute_force.py -> build/lib.linux-x86_64-cpython-312/imagededup/handlers/search
      copying imagededup/handlers/search/brute_force_cython.py -> build/lib.linux-x86_64-cpython-312/imagededup/handlers/search
      copying imagededup/handlers/search/retrieval.py -> build/lib.linux-x86_64-cpython-312/imagededup/handlers/search
      running build_ext
      building 'brute_force_cython_ext' extension
      creating build/temp.linux-x86_64-cpython-312/imagededup/handlers/search
      x86_64-linux-gnu-g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/home/alisot2000/Documents/01_ReposNCode/test-image-dedup/.venv/include -I/usr/include/python3.12 -c imagededup/handlers/search/brute_force_cython_ext.cpp -o build/temp.linux-x86_64-cpython-312/imagededup/handlers/search/brute_force_cython_ext.o
      imagededup/handlers/search/brute_force_cython_ext.cpp: In functionuint64_t __Pyx_get_tp_dict_version(PyObject*)’:
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:2779:27: note: in expansion of macro__PYX_GET_DICT_VERSION2779 |     return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0;
            |                           ^~~~~~~~~~~~~~~~~~~~~~
      In file included from /usr/include/python3.12/dictobject.h:90,
                       from /usr/include/python3.12/Python.h:64,
                       from imagededup/handlers/search/brute_force_cython_ext.cpp:38:
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:2779:27: note: in expansion of macro__PYX_GET_DICT_VERSION2779 |     return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0;
            |                           ^~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:2779:27: note: in expansion of macro__PYX_GET_DICT_VERSION2779 |     return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0;
            |                           ^~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp: In functionuint64_t __Pyx_get_object_dict_version(PyObject*)’:
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:2791:36: note: in expansion of macro__PYX_GET_DICT_VERSION2791 |     return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0;
            |                                    ^~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:2791:36: note: in expansion of macro__PYX_GET_DICT_VERSION2791 |     return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0;
            |                                    ^~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:2791:36: note: in expansion of macro__PYX_GET_DICT_VERSION2791 |     return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0;
            |                                    ^~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp: In functionint __Pyx_object_dict_version_matches(PyObject*, uint64_t, uint64_t)’:
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:986:43: note: in definition of macrounlikely986 |   #define unlikely(x) __builtin_expect(!!(x), 0)
            |                                           ^
      imagededup/handlers/search/brute_force_cython_ext.cpp:2795:56: note: in expansion of macro__PYX_GET_DICT_VERSION2795 |     if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict)))
            |                                                        ^~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:986:43: note: in definition of macrounlikely986 |   #define unlikely(x) __builtin_expect(!!(x), 0)
            |                                           ^
      imagededup/handlers/search/brute_force_cython_ext.cpp:2795:56: note: in expansion of macro__PYX_GET_DICT_VERSION2795 |     if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict)))
            |                                                        ^~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:986:43: note: in definition of macrounlikely986 |   #define unlikely(x) __builtin_expect(!!(x), 0)
            |                                           ^
      imagededup/handlers/search/brute_force_cython_ext.cpp:2795:56: note: in expansion of macro__PYX_GET_DICT_VERSION2795 |     if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict)))
            |                                                        ^~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp: In functionint __Pyx_CLineForTraceback(PyThreadState*, int)’:
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:985:43: note: in definition of macrolikely985 |   #define likely(x)   __builtin_expect(!!(x), 1)
            |                                           ^
      imagededup/handlers/search/brute_force_cython_ext.cpp:1167:16: note: in expansion of macro__PYX_GET_DICT_VERSION1167 |     if (likely(__PYX_GET_DICT_VERSION(DICT) == __pyx_dict_version)) {\
            |                ^~~~~~~~~~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:2840:9: note: in expansion of macro__PYX_PY_DICT_LOOKUP_IF_MODIFIED2840 |         __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
            |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:985:43: note: in definition of macrolikely985 |   #define likely(x)   __builtin_expect(!!(x), 1)
            |                                           ^
      imagededup/handlers/search/brute_force_cython_ext.cpp:1167:16: note: in expansion of macro__PYX_GET_DICT_VERSION1167 |     if (likely(__PYX_GET_DICT_VERSION(DICT) == __pyx_dict_version)) {\
            |                ^~~~~~~~~~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:2840:9: note: in expansion of macro__PYX_PY_DICT_LOOKUP_IF_MODIFIED2840 |         __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
            |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:985:43: note: in definition of macrolikely985 |   #define likely(x)   __builtin_expect(!!(x), 1)
            |                                           ^
      imagededup/handlers/search/brute_force_cython_ext.cpp:1167:16: note: in expansion of macro__PYX_GET_DICT_VERSION1167 |     if (likely(__PYX_GET_DICT_VERSION(DICT) == __pyx_dict_version)) {\
            |                ^~~~~~~~~~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:2840:9: note: in expansion of macro__PYX_PY_DICT_LOOKUP_IF_MODIFIED2840 |         __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
            |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1171:30: note: in expansion of macro__PYX_GET_DICT_VERSION1171 |         __pyx_dict_version = __PYX_GET_DICT_VERSION(DICT);\
            |                              ^~~~~~~~~~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:2840:9: note: in expansion of macro__PYX_PY_DICT_LOOKUP_IF_MODIFIED2840 |         __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
            |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1171:30: note: in expansion of macro__PYX_GET_DICT_VERSION1171 |         __pyx_dict_version = __PYX_GET_DICT_VERSION(DICT);\
            |                              ^~~~~~~~~~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:2840:9: note: in expansion of macro__PYX_PY_DICT_LOOKUP_IF_MODIFIED2840 |         __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
            |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1160:65: warning: ‘PyDictObject::ma_version_tagis deprecated [-Wdeprecated-declarations]
       1160 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:1171:30: note: in expansion of macro__PYX_GET_DICT_VERSION1171 |         __pyx_dict_version = __PYX_GET_DICT_VERSION(DICT);\
            |                              ^~~~~~~~~~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:2840:9: note: in expansion of macro__PYX_PY_DICT_LOOKUP_IF_MODIFIED2840 |         __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
            |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
         22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |                                  ^~~~~~~~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp: In functionlong long unsigned int __Pyx_PyInt_As_unsigned_PY_LONG_LONG(PyObject*)’:
      imagededup/handlers/search/brute_force_cython_ext.cpp:3103:55: error: ‘PyLongObject’ {akastruct _longobject’} has no member namedob_digit3103 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
            |                                                       ^~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:3158:55: error: ‘PyLongObject’ {akastruct _longobject’} has no member namedob_digit3158 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
            |                                                       ^~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp: In functionunsigned int __Pyx_PyInt_As_unsigned_int(PyObject*)’:
      imagededup/handlers/search/brute_force_cython_ext.cpp:3299:55: error: ‘PyLongObject’ {akastruct _longobject’} has no member namedob_digit3299 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
            |                                                       ^~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:3354:55: error: ‘PyLongObject’ {akastruct _longobject’} has no member namedob_digit3354 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
            |                                                       ^~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp: In functionlong int __Pyx_PyInt_As_long(PyObject*)’:
      imagededup/handlers/search/brute_force_cython_ext.cpp:3571:55: error: ‘PyLongObject’ {akastruct _longobject’} has no member namedob_digit3571 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
            |                                                       ^~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:3626:55: error: ‘PyLongObject’ {akastruct _longobject’} has no member namedob_digit3626 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
            |                                                       ^~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp: In functionint __Pyx_PyInt_As_int(PyObject*)’:
      imagededup/handlers/search/brute_force_cython_ext.cpp:3767:55: error: ‘PyLongObject’ {akastruct _longobject’} has no member namedob_digit3767 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
            |                                                       ^~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp:3822:55: error: ‘PyLongObject’ {akastruct _longobject’} has no member namedob_digit3822 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
            |                                                       ^~~~~~~~
      imagededup/handlers/search/brute_force_cython_ext.cpp: In functionPy_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*)’:
      imagededup/handlers/search/brute_force_cython_ext.cpp:4273:47: error: ‘PyLongObject’ {akastruct _longobject’} has no member namedob_digit4273 |     const digit* digits = ((PyLongObject*)b)->ob_digit;
            |                                               ^~~~~~~~
      error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for imagededup
Failed to build imagededup
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (imagededup)

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