Skip to content

macOS statsmodels Python12 install error #29

@stefanDeveloper

Description

@stefanDeveloper

Describe the bug

Installing Python 12 on macOS dependencies runs into the following error:

      statsmodels/tsa/_innovations.c:22820:47: error: no member named 'ob_digit' in 'struct _longobject'
       22820 |     const digit* digits = ((PyLongObject*)b)->ob_digit;
             |                           ~~~~~~~~~~~~~~~~~~  ^
      23 warnings and 12 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1

Steps to reproduce

python -m pip install -r requirements/requirements-dev.txt -r requirements/requirements.detector.txt -r requirements/requirements.logcollector.txt -r requirements/requirements.prefilter.txt -r requirements/requirements.inspector.txt

Expected behavior

Successful install of all dependencies

Environment

  • OS: macOS Darwin monaco.local 24.0.0 Darwin Kernel Version 24.0.0: Mon Aug 12 20:54:30 PDT 2024; root:xnu-11215.1.10~2/RELEASE_X86_64 x86_64

Additional context

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions