You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
pip install time-series-anomaly-detector
Any log messages given by the failure
Building wheels for collected packages: time-series-anomaly-detector
Building wheel for time-series-anomaly-detector (pyproject.toml) ... error
error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for time-series-anomaly-detector
Failed to build time-series-anomaly-detector
ERROR: Could not build wheels for time-series-anomaly-detector, which is required to install pyproject.toml-based projects
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
× Building wheel for time-series-anomaly-detector (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [109 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-cpython-311
creating build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector
copying src/anomaly_detector/init.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector
copying src/anomaly_detector/base.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector
creating build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/multivariate
copying src/anomaly_detector/multivariate/util.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/multivariate
copying src/anomaly_detector/multivariate/init.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/multivariate
copying src/anomaly_detector/multivariate/model.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/multivariate
copying src/anomaly_detector/multivariate/dataset.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/multivariate
copying src/anomaly_detector/multivariate/module.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/multivariate
copying src/anomaly_detector/multivariate/contract.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/multivariate
creating build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/common
copying src/anomaly_detector/common/exception.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/common
copying src/anomaly_detector/common/data_processor.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/common
copying src/anomaly_detector/common/constants.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/common
copying src/anomaly_detector/common/init.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/common
copying src/anomaly_detector/common/time_util.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/common
copying src/anomaly_detector/common/error_code.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/common
creating build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate
copying src/anomaly_detector/univariate/init.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate
copying src/anomaly_detector/univariate/univariate_anomaly_detection.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate
creating build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/util
copying src/anomaly_detector/univariate/util/critical_table_values.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/util
copying src/anomaly_detector/univariate/util/fields.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/util
copying src/anomaly_detector/univariate/util/r_stl.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/util
copying src/anomaly_detector/univariate/util/stl_helpers.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/util
copying src/anomaly_detector/univariate/util/date_utils.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/util
copying src/anomaly_detector/univariate/util/refine.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/util
copying src/anomaly_detector/univariate/util/init.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/util
copying src/anomaly_detector/univariate/util/enum.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/util
copying src/anomaly_detector/univariate/util/helpers.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/util
copying src/anomaly_detector/univariate/util/boundary_utils.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/util
creating build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/period
copying src/anomaly_detector/univariate/period/period_detect.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/period
copying src/anomaly_detector/univariate/period/init.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/period
copying src/anomaly_detector/univariate/period/spectrum.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/period
copying src/anomaly_detector/univariate/period/simple.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/period
creating build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/model
copying src/anomaly_detector/univariate/model/dynamic_threshold.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/model
copying src/anomaly_detector/univariate/model/spectral_residual_model.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/model
copying src/anomaly_detector/univariate/model/detect_model.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/model
copying src/anomaly_detector/univariate/model/init.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/model
copying src/anomaly_detector/univariate/model/series_compete_processor.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/model
copying src/anomaly_detector/univariate/model/hbos_detection.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/model
copying src/anomaly_detector/univariate/model/detect.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/model
copying src/anomaly_detector/univariate/model/seasonal_series.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/model
creating build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/filling_up
copying src/anomaly_detector/univariate/filling_up/init.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/filling_up
copying src/anomaly_detector/univariate/filling_up/fill_up.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/filling_up
copying src/anomaly_detector/univariate/filling_up/fill_up_methods.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/filling_up
creating build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/detectors
copying src/anomaly_detector/univariate/detectors/detector.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/detectors
copying src/anomaly_detector/univariate/detectors/dynamic_filter.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/detectors
copying src/anomaly_detector/univariate/detectors/spectral_residual.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/detectors
copying src/anomaly_detector/univariate/detectors/esd_filter.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/detectors
copying src/anomaly_detector/univariate/detectors/init.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/detectors
copying src/anomaly_detector/univariate/detectors/z_score.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/detectors
creating build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/resource
copying src/anomaly_detector/univariate/resource/init.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/resource
copying src/anomaly_detector/univariate/resource/error_message.py -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate/resource
running egg_info
writing src/time_series_anomaly_detector.egg-info/PKG-INFO
writing dependency_links to src/time_series_anomaly_detector.egg-info/dependency_links.txt
writing requirements to src/time_series_anomaly_detector.egg-info/requires.txt
writing top-level names to src/time_series_anomaly_detector.egg-info/top_level.txt
reading manifest file 'src/time_series_anomaly_detector.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/time_series_anomaly_detector.egg-info/SOURCES.txt'
copying src/anomaly_detector/univariate/_anomaly_kernel_cython.c -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate
copying src/anomaly_detector/univariate/_anomaly_kernel_cython.pyx -> build/lib.macosx-10.9-x86_64-cpython-311/anomaly_detector/univariate
running build_ext
building 'anomaly_detector.univariate._anomaly_kernel_cython' extension
creating build/temp.macosx-10.9-x86_64-cpython-311
creating build/temp.macosx-10.9-x86_64-cpython-311/src
creating build/temp.macosx-10.9-x86_64-cpython-311/src/anomaly_detector
creating build/temp.macosx-10.9-x86_64-cpython-311/src/anomaly_detector/univariate
clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/SumeetSandhu/miniconda3/include -fPIC -O2 -isystem /Users/SumeetSandhu/miniconda3/include -I/private/var/folders/09/b_3c01rj097cwkp1bxxfjj1m0000gn/T/pip-build-env-d81nnlus/overlay/lib/python3.11/site-packages/numpy/_core/include -I/Users/SumeetSandhu/miniconda3/include/python3.11 -c src/anomaly_detector/univariate/_anomaly_kernel_cython.c -o build/temp.macosx-10.9-x86_64-cpython-311/src/anomaly_detector/univariate/_anomaly_kernel_cython.o
In file included from src/anomaly_detector/univariate/_anomaly_kernel_cython.c:1198:
In file included from /private/var/folders/09/b_3c01rj097cwkp1bxxfjj1m0000gn/T/pip-build-env-d81nnlus/overlay/lib/python3.11/site-packages/numpy/_core/include/numpy/arrayobject.h:5:
In file included from /private/var/folders/09/b_3c01rj097cwkp1bxxfjj1m0000gn/T/pip-build-env-d81nnlus/overlay/lib/python3.11/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12:
In file included from /private/var/folders/09/b_3c01rj097cwkp1bxxfjj1m0000gn/T/pip-build-env-d81nnlus/overlay/lib/python3.11/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1909:
/private/var/folders/09/b_3c01rj097cwkp1bxxfjj1m0000gn/T/pip-build-env-d81nnlus/overlay/lib/python3.11/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with "
^
src/anomaly_detector/univariate/_anomaly_kernel_cython.c:19078:41: error: no member named 'subarray' in 'struct _PyArray_Descr'
__Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape));
~~~~~~~~~ ^
src/anomaly_detector/univariate/_anomaly_kernel_cython.c:2071:37: note: expanded from macro '__Pyx_INCREF'
#define __Pyx_INCREF(r) Py_INCREF(r)
^
/Users/SumeetSandhu/miniconda3/include/python3.11/object.h:506:50: note: expanded from macro 'Py_INCREF'
# define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
^~
/Users/SumeetSandhu/miniconda3/include/python3.11/object.h:107:49: note: expanded from macro '_PyObject_CAST'
#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
^~
/Users/SumeetSandhu/miniconda3/include/python3.11/pyport.h:24:38: note: expanded from macro '_Py_CAST'
#define _Py_CAST(type, expr) ((type)(expr))
^~~~
src/anomaly_detector/univariate/_anomaly_kernel_cython.c:19079:38: error: no member named 'subarray' in 'struct _PyArray_Descr'
__pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
~~~~~~~~~ ^
1 warning and 2 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 time-series-anomaly-detector
Failed to build time-series-anomaly-detector
ERROR: Could not build wheels for time-series-anomaly-detector, which is required to install pyproject.toml-based projects
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
conda 24.4.0
Python 3.11.7
The text was updated successfully, but these errors were encountered: