Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cannot install requirements on python 3.12 or 3.13 #16

@Lovkush-A

Description

@Lovkush-A

I tried with both python 3.12 and 3.13 and get huge error message. Final lines copied below. I can install using python 3.11.

Suggestion: add instructions to readme to use python 3.11.


Final ~lines are:

            thinc/backends/numpy_ops.cpp:5612:3: error: no member named 'use_tracing' in '_PyCFrame'
              __Pyx_TraceReturn(__pyx_r, 0);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2489:15: note: expanded from macro '__Pyx_TraceReturn'
                      if (__Pyx_IsTracing(tstate, 0, 0)) {\
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2384:34: note: expanded from macro '__Pyx_IsTracing'
                 (unlikely((tstate)->cframe->use_tracing) &&\
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:1001:43: note: expanded from macro 'unlikely'
              #define unlikely(x) __builtin_expect(!!(x), 0)
                                                      ^
            thinc/backends/numpy_ops.cpp:5650:3: error: no member named 'use_tracing' in '_PyCFrame'
              __Pyx_TraceCall("cblas", __pyx_f[0], 89, 0, __PYX_ERR(0, 89, __pyx_L1_error));
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2423:15: note: expanded from macro '__Pyx_TraceCall'
                      if (__Pyx_IsTracing(tstate, 1, 1)) {\
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2384:34: note: expanded from macro '__Pyx_IsTracing'
                 (unlikely((tstate)->cframe->use_tracing) &&\
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:1001:43: note: expanded from macro 'unlikely'
              #define unlikely(x) __builtin_expect(!!(x), 0)
                                                      ^
            thinc/backends/numpy_ops.cpp:5650:3: error: no member named 'use_tracing' in '_PyCFrame'
              __Pyx_TraceCall("cblas", __pyx_f[0], 89, 0, __PYX_ERR(0, 89, __pyx_L1_error));
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2431:11: note: expanded from macro '__Pyx_TraceCall'
                  if (__Pyx_IsTracing(tstate, 1, 1)) {\
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2384:34: note: expanded from macro '__Pyx_IsTracing'
                 (unlikely((tstate)->cframe->use_tracing) &&\
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:1001:43: note: expanded from macro 'unlikely'
              #define unlikely(x) __builtin_expect(!!(x), 0)
                                                      ^
            thinc/backends/numpy_ops.cpp:5681:3: error: no member named 'use_tracing' in '_PyCFrame'
              __Pyx_TraceReturn(__pyx_r, 0);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2482:19: note: expanded from macro '__Pyx_TraceReturn'
                          if (__Pyx_IsTracing(tstate, 0, 0)) {\
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2384:34: note: expanded from macro '__Pyx_IsTracing'
                 (unlikely((tstate)->cframe->use_tracing) &&\
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:1001:43: note: expanded from macro 'unlikely'
              #define unlikely(x) __builtin_expect(!!(x), 0)
                                                      ^
            thinc/backends/numpy_ops.cpp:5681:3: error: no member named 'use_tracing' in '_PyCFrame'
              __Pyx_TraceReturn(__pyx_r, 0);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2489:15: note: expanded from macro '__Pyx_TraceReturn'
                      if (__Pyx_IsTracing(tstate, 0, 0)) {\
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2384:34: note: expanded from macro '__Pyx_IsTracing'
                 (unlikely((tstate)->cframe->use_tracing) &&\
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:1001:43: note: expanded from macro 'unlikely'
              #define unlikely(x) __builtin_expect(!!(x), 0)
                                                      ^
            thinc/backends/numpy_ops.cpp:5811:3: error: no member named 'use_tracing' in '_PyCFrame'
              __Pyx_TraceCall("gemm", __pyx_f[0], 92, 0, __PYX_ERR(0, 92, __pyx_L1_error));
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2423:15: note: expanded from macro '__Pyx_TraceCall'
                      if (__Pyx_IsTracing(tstate, 1, 1)) {\
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2384:34: note: expanded from macro '__Pyx_IsTracing'
                 (unlikely((tstate)->cframe->use_tracing) &&\
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:1001:43: note: expanded from macro 'unlikely'
              #define unlikely(x) __builtin_expect(!!(x), 0)
                                                      ^
            thinc/backends/numpy_ops.cpp:5811:3: error: no member named 'use_tracing' in '_PyCFrame'
              __Pyx_TraceCall("gemm", __pyx_f[0], 92, 0, __PYX_ERR(0, 92, __pyx_L1_error));
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2431:11: note: expanded from macro '__Pyx_TraceCall'
                  if (__Pyx_IsTracing(tstate, 1, 1)) {\
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2384:34: note: expanded from macro '__Pyx_IsTracing'
                 (unlikely((tstate)->cframe->use_tracing) &&\
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:1001:43: note: expanded from macro 'unlikely'
              #define unlikely(x) __builtin_expect(!!(x), 0)
                                                      ^
            thinc/backends/numpy_ops.cpp:6158:3: error: no member named 'use_tracing' in '_PyCFrame'
              __Pyx_TraceReturn(__pyx_r, 0);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2482:19: note: expanded from macro '__Pyx_TraceReturn'
                          if (__Pyx_IsTracing(tstate, 0, 0)) {\
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:2384:34: note: expanded from macro '__Pyx_IsTracing'
                 (unlikely((tstate)->cframe->use_tracing) &&\
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
            thinc/backends/numpy_ops.cpp:1001:43: note: expanded from macro 'unlikely'
              #define unlikely(x) __builtin_expect(!!(x), 0)
                                                      ^
            fatal error: too many errors emitted, stopping now [-ferror-limit=]
            1 warning and 20 errors generated.
            error: command '/usr/bin/clang++' 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 thinc
      Failed to build thinc
      ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (thinc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions