i am trying to find solutions. but i couldn’t. anyone can help? plz…
this is my log for build.
hotair@ubuntu:~/workspace/src/deep_sort_pytorch$ pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting atomicwrites==1.3.0
Using cached atomicwrites-1.3.0-py2.py3-none-any.whl (5.9 kB)
Collecting attrs==19.3.0
Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting colorama==0.4.3
Using cached colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Collecting easydict~=1.13
Using cached easydict-1.13-py3-none-any.whl (6.8 kB)
Collecting entrypoints==0.3
Using cached entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting et-xmlfile==1.0.1
Using cached et_xmlfile-1.0.1-py3-none-any.whl
Collecting flake8==3.7.9
Using cached flake8-3.7.9-py2.py3-none-any.whl (69 kB)
Collecting flake8-import-order==0.18.1
Using cached flake8_import_order-0.18.1-py2.py3-none-any.whl (15 kB)
Collecting importlib-metadata==1.6.0
Using cached importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting jdcal==1.4.1
Using cached jdcal-1.4.1-py2.py3-none-any.whl (9.5 kB)
Collecting joblib==0.14.1
Using cached joblib-0.14.1-py2.py3-none-any.whl (294 kB)
Collecting numpy~=1.23.5
Using cached numpy-1.23.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (14.0 MB)
Collecting lap==0.4.0
Using cached lap-0.4.0.tar.gz (1.5 MB)
Preparing metadata (setup.py) … done
Requirement already satisfied: mccabe==0.6.1 in /home/hotair/.local/lib/python3.9/site-packages (from -r requirements.txt (line 14)) (0.6.1)
Collecting more-itertools==8.2.0
Using cached more_itertools-8.2.0-py3-none-any.whl (43 kB)
Collecting motmetrics==1.2.0
Using cached motmetrics-1.2.0-py3-none-any.whl (151 kB)
Collecting opencv-python~=4.8.1.78
Using cached opencv_python-4.8.1.78-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (41.0 MB)
Collecting openpyxl==3.0.3
Using cached openpyxl-3.0.3-py2.py3-none-any.whl
Collecting packaging==20.3
Using cached packaging-20.3-py2.py3-none-any.whl (37 kB)
Collecting pandas~=1.5.2
Using cached pandas-1.5.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.5 MB)
Collecting Pillow~=9.0.1
Using cached Pillow-9.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.2 MB)
Collecting pluggy==0.13.1
Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting py==1.10.0
Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Requirement already satisfied: py-cpuinfo==5.0.0 in /home/hotair/.local/lib/python3.9/site-packages (from -r requirements.txt (line 24)) (5.0.0)
Collecting pycodestyle==2.5.0
Using cached pycodestyle-2.5.0-py2.py3-none-any.whl (51 kB)
Collecting pyflakes==2.1.1
Using cached pyflakes-2.1.1-py2.py3-none-any.whl (59 kB)
Collecting pyparsing==2.4.7
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting pytest==5.4.1
Using cached pytest-5.4.1-py3-none-any.whl (246 kB)
Collecting pytest-benchmark==3.2.3
Using cached pytest_benchmark-3.2.3-py2.py3-none-any.whl (49 kB)
Collecting python-dateutil==2.8.1
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting PyYAML~=6.0
Using cached PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (731 kB)
Collecting scikit-learn==0.22.2.post1
Using cached scikit-learn-0.22.2.post1.tar.gz (6.9 MB)
Preparing metadata (setup.py) … done
Collecting scipy~=1.10.1
Using cached scipy-1.10.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (31.0 MB)
Collecting six==1.14.0
Using cached six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting sklearn==0.0
Using cached sklearn-0.0-py2.py3-none-any.whl
Collecting Vizer==0.1.5
Using cached Vizer-0.1.5-py3-none-any.whl
Requirement already satisfied: wcwidth==0.1.9 in /home/hotair/.local/lib/python3.9/site-packages (from -r requirements.txt (line 39)) (0.1.9)
Collecting xmltodict==0.12.0
Using cached xmltodict-0.12.0-py2.py3-none-any.whl (9.2 kB)
Collecting zipp==3.1.0
Using cached zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting mmdet~=3.0.0
Using cached mmdet-3.0.0-py3-none-any.whl (1.7 MB)
Collecting setuptools~=56.0.0
Using cached setuptools-56.0.0-py3-none-any.whl (784 kB)
Collecting tqdm~=4.65.0
Using cached tqdm-4.65.2-py3-none-any.whl (77 kB)
Collecting matplotlib~=3.7.2
Using cached matplotlib-3.7.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.4 MB)
Collecting seaborn~=0.11.2
Using cached seaborn-0.11.2-py3-none-any.whl (292 kB)
Collecting requests~=2.31.0
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting thop~=0.1.1.post2209072238
Using cached thop-0.1.1.post2209072238-py3-none-any.whl (15 kB)
Collecting pycocotools~=2.0.6
Using cached pycocotools-2.0.8-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (414 kB)
Collecting python-dotenv~=0.21.0
Using cached python_dotenv-0.21.1-py3-none-any.whl (19 kB)
Requirement already satisfied: pytz>=2020.1 in /home/hotair/.local/lib/python3.9/site-packages (from pandas~=1.5.2->-r requirements.txt (line 20)) (2024.1)
Collecting terminaltables
Using cached terminaltables-3.1.10-py2.py3-none-any.whl (15 kB)
Collecting shapely
Using cached shapely-2.0.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB)
Collecting contourpy>=1.0.1
Using cached contourpy-1.2.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (300 kB)
Collecting importlib-resources>=3.2.0
Using cached importlib_resources-6.4.0-py3-none-any.whl (38 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.4.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB)
Collecting cycler>=0.10
Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting fonttools>=4.22.0
Using cached fonttools-4.53.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB)
Requirement already satisfied: urllib3<3,>=1.21.1 in /home/hotair/anaconda/lib/python3.9/site-packages (from requests~=2.31.0->-r requirements.txt (line 48)) (1.26.9)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/hotair/anaconda/lib/python3.9/site-packages (from requests~=2.31.0->-r requirements.txt (line 48)) (2.0.12)
Requirement already satisfied: certifi>=2017.4.17 in /home/hotair/anaconda/lib/python3.9/site-packages (from requests~=2.31.0->-r requirements.txt (line 48)) (2021.10.8)
Requirement already satisfied: idna<4,>=2.5 in /home/hotair/anaconda/lib/python3.9/site-packages (from requests~=2.31.0->-r requirements.txt (line 48)) (3.3)
Requirement already satisfied: torch in /home/hotair/.local/lib/python3.9/site-packages (from thop~=0.1.1.post2209072238->-r requirements.txt (line 49)) (2.3.1)
Requirement already satisfied: networkx in /home/hotair/.local/lib/python3.9/site-packages (from torch->thop~=0.1.1.post2209072238->-r requirements.txt (line 49)) (3.2.1)
Requirement already satisfied: jinja2 in /home/hotair/.local/lib/python3.9/site-packages (from torch->thop~=0.1.1.post2209072238->-r requirements.txt (line 49)) (3.1.4)
Requirement already satisfied: sympy in /home/hotair/.local/lib/python3.9/site-packages (from torch->thop~=0.1.1.post2209072238->-r requirements.txt (line 49)) (1.12.1)
Requirement already satisfied: fsspec in /home/hotair/.local/lib/python3.9/site-packages (from torch->thop~=0.1.1.post2209072238->-r requirements.txt (line 49)) (2024.6.0)
Requirement already satisfied: filelock in /home/hotair/.local/lib/python3.9/site-packages (from torch->thop~=0.1.1.post2209072238->-r requirements.txt (line 49)) (3.15.4)
Requirement already satisfied: typing-extensions>=4.8.0 in /home/hotair/.local/lib/python3.9/site-packages (from torch->thop~=0.1.1.post2209072238->-r requirements.txt (line 49)) (4.12.2)
Requirement already satisfied: MarkupSafe>=2.0 in /home/hotair/.local/lib/python3.9/site-packages (from jinja2->torch->thop~=0.1.1.post2209072238->-r requirements.txt (line 49)) (2.1.5)
Requirement already satisfied: mpmath<1.4.0,>=1.1.0 in /home/hotair/.local/lib/python3.9/site-packages (from sympy->torch->thop~=0.1.1.post2209072238->-r requirements.txt (line 49)) (1.3.0)
Building wheels for collected packages: lap, scikit-learn
Building wheel for lap (setup.py) … error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [480 lines of output]
/tmp/pip-install-wj12jfzx/lap_3e26f74493674691945d2e91b809b25f/setup.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See Package Discovery and Resource Access using pkg_resources - setuptools 70.1.1.post20240626 documentation
from pkg_resources import parse_version
Partial import of lap during the build process.
/tmp/pip-install-wj12jfzx/lap_3e26f74493674691945d2e91b809b25f/setup.py:223: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
from numpy.distutils.core import setup
Generating cython files
running bdist_wheel
running build
running config_cc
INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
INFO: build_src
INFO: building extension "lap._lapjv" sources
INFO: building data_files sources
INFO: build_src: building npy-pkg config files
/home/hotair/.local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
running build_py
creating build
creating build/lib.linux-aarch64-cpython-39
creating build/lib.linux-aarch64-cpython-39/lap
copying lap/__init__.py -> build/lib.linux-aarch64-cpython-39/lap
copying lap/lapmod.py -> build/lib.linux-aarch64-cpython-39/lap
running build_ext
INFO: customize UnixCCompiler
INFO: customize UnixCCompiler using build_ext
INFO: CCompilerOpt.cc_test_flags[1086] : testing flags (-march=native)
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
creating /tmp/tmpoqi6cbxn/home
creating /tmp/tmpoqi6cbxn/home/hotair
creating /tmp/tmpoqi6cbxn/home/hotair/.local
creating /tmp/tmpoqi6cbxn/home/hotair/.local/lib
creating /tmp/tmpoqi6cbxn/home/hotair/.local/lib/python3.9
creating /tmp/tmpoqi6cbxn/home/hotair/.local/lib/python3.9/site-packages
creating /tmp/tmpoqi6cbxn/home/hotair/.local/lib/python3.9/site-packages/numpy
creating /tmp/tmpoqi6cbxn/home/hotair/.local/lib/python3.9/site-packages/numpy/distutils
creating /tmp/tmpoqi6cbxn/home/hotair/.local/lib/python3.9/site-packages/numpy/distutils/checks
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-march=native'
INFO: CCompilerOpt.cc_test_flags[1086] : testing flags (-O3)
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-O3'
INFO: CCompilerOpt.cc_test_flags[1086] : testing flags (-Werror)
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-Werror'
INFO: CCompilerOpt.__init__[1795] : check requested baseline
INFO: CCompilerOpt.feature_test[1560] : testing feature 'NEON_FP16' with flags ()
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-Werror'
INFO: CCompilerOpt.feature_test[1560] : testing feature 'NEON_VFPV4' with flags ()
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-Werror'
INFO: CCompilerOpt.feature_test[1560] : testing feature 'ASIMD' with flags ()
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-Werror'
INFO: CCompilerOpt.feature_test[1560] : testing feature 'NEON' with flags ()
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-Werror'
INFO: CCompilerOpt.__init__[1804] : check requested dispatch-able features
INFO: CCompilerOpt.cc_test_flags[1086] : testing flags (-march=armv8.2-a+dotprod)
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-march=armv8.2-a+dotprod'
INFO: CCompilerOpt.feature_test[1560] : testing feature 'ASIMDDP' with flags (-march=armv8.2-a+dotprod)
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-march=armv8.2-a+dotprod -Werror'
INFO: CCompilerOpt.cc_test_flags[1086] : testing flags (-march=armv8.2-a+fp16)
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-march=armv8.2-a+fp16'
INFO: CCompilerOpt.feature_test[1560] : testing feature 'ASIMDHP' with flags (-march=armv8.2-a+fp16)
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-march=armv8.2-a+fp16 -Werror'
INFO: CCompilerOpt.cc_test_flags[1086] : testing flags (-march=armv8.2-a+fp16fml)
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-march=armv8.2-a+fp16fml'
INFO: CCompilerOpt.feature_test[1560] : testing feature 'ASIMDFHM' with flags (-march=armv8.2-a+fp16+fp16fml)
INFO: C compiler: gcc -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
INFO: compile options: '-I/home/hotair/anaconda/include/python3.9 -c'
extra options: '-march=armv8.2-a+fp16+fp16fml -Werror'
INFO: CCompilerOpt.__init__[1816] : skip features (NEON NEON_FP16 NEON_VFPV4 ASIMD) since its part of baseline
INFO: CCompilerOpt.__init__[1820] : initialize targets groups
INFO: CCompilerOpt.__init__[1822] : parse target group simd_test
INFO: CCompilerOpt._parse_target_tokens[2033] : skip targets (VSX3 XOP VSX4 AVX512_SKX VSX VXE2 SSE42 AVX512F SSE2 (AVX2 FMA3) VX VXE VSX2 FMA4) not part of baseline or dispatch-able features
INFO: CCompilerOpt._parse_policy_not_keepbase[2145] : skip baseline features (ASIMD)
INFO: CCompilerOpt.generate_dispatch_header[2366] : generate CPU dispatch header: (build/src.linux-aarch64-3.9/numpy/distutils/include/npy_cpu_dispatch_config.h)
WARN: CCompilerOpt.generate_dispatch_header[2375] : dispatch header dir build/src.linux-aarch64-3.9/numpy/distutils/include does not exist, creating it
INFO: customize UnixCCompiler
INFO: customize UnixCCompiler using build_ext
INFO: building 'lap._lapjv' extension
INFO: compiling C++ sources
INFO: C compiler: g++ -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC
creating build/temp.linux-aarch64-cpython-39/lap
INFO: compile options: '-I/home/hotair/.local/lib/python3.9/site-packages/numpy/_core/include -Ilap -I/home/hotair/.local/lib/python3.9/site-packages/numpy/_core/include -Ibuild/src.linux-aarch64-3.9/numpy/distutils/include -I/home/hotair/anaconda/include/python3.9 -c'
INFO: g++: lap/_lapjv.cpp
INFO: g++: lap/lapjv.cpp
INFO: g++: lap/lapmod.cpp
In file included from /home/hotair/.local/lib/python3.9/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1909,
from /home/hotair/.local/lib/python3.9/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /home/hotair/.local/lib/python3.9/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from lap/_lapjv.cpp:581:
/home/hotair/.local/lib/python3.9/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
In file included from /home/hotair/anaconda/include/python3.9/pytime.h:6,
from /home/hotair/anaconda/include/python3.9/Python.h:81,
from lap/_lapjv.cpp:4:
lap/_lapjv.cpp: In function ‘PyObject* __pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr*)’:
lap/_lapjv.cpp:5068:41: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘subarray’
5068 | __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape));
| ^~~~~~~~
/home/hotair/anaconda/include/python3.9/object.h:112:41: note: in definition of macro ‘_PyObject_CAST’
112 | #define _PyObject_CAST(op) ((PyObject*)(op))
| ^~
lap/_lapjv.cpp:1146:27: note: in expansion of macro ‘Py_INCREF’
1146 | #define __Pyx_INCREF(r) Py_INCREF(r)
| ^~~~~~~~~
lap/_lapjv.cpp:5068:5: note: in expansion of macro ‘__Pyx_INCREF’
5068 | __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape));
| ^~~~~~~~~~~~
lap/_lapjv.cpp:5069:38: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘subarray’
5069 | __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
| ^~~~~~~~
lap/_lapjv.cpp: In function ‘char* __pyx_f_5numpy__util_dtypestring(PyArray_Descr*, char*, char*, int*)’:
lap/_lapjv.cpp:5164:31: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘names’
5164 | if (unlikely(__pyx_v_descr->names == Py_None)) {
| ^~~~~
lap/_lapjv.cpp:767:43: note: in definition of macro ‘unlikely’
767 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
lap/_lapjv.cpp:5168:30: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘names’
5168 | __pyx_t_1 = __pyx_v_descr->names; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
| ^~~~~
lap/_lapjv.cpp:5187:33: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘fields’
5187 | if (unlikely(__pyx_v_descr->fields == Py_None)) {
| ^~~~~~
lap/_lapjv.cpp:767:43: note: in definition of macro ‘unlikely’
767 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
lap/_lapjv.cpp:5191:53: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘fields’
5191 | __pyx_t_3 = __Pyx_PyDict_GetItem(__pyx_v_descr->fields, __pyx_v_childname); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 806, __pyx_L1_error)
| ^~~~~~
lap/_lapjv.cpp:5392:81: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘elsize’
5392 | (__pyx_v_offset[__pyx_t_8]) = ((__pyx_v_offset[__pyx_t_8]) + __pyx_v_child->elsize);
| ^~~~~~
In file included from /home/hotair/anaconda/include/python3.9/unicodeobject.h:1026,
from /home/hotair/anaconda/include/python3.9/Python.h:93,
from lap/_lapjv.cpp:4:
lap/_lapjv.cpp: In function ‘int __Pyx_ParseOptionalKeywords(PyObject*, PyObject***, PyObject*, PyObject**, Py_ssize_t, const char*)’:
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7255:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7255 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7255:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7255 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
lap/_lapjv.cpp:7255:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7255 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
lap/_lapjv.cpp:7255:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7255 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7255:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7255 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7255:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7255 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7255:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7255 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7255:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7255 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
lap/_lapjv.cpp:7255:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7255 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
lap/_lapjv.cpp:7255:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7255 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7255:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7255 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7255:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7255 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7271:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7271 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7271:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7271 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
lap/_lapjv.cpp:7271:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7271 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
lap/_lapjv.cpp:7271:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7271 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7271:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7271 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7271:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7271 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7271:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7271 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7271:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7271 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
lap/_lapjv.cpp:7271:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7271 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
lap/_lapjv.cpp:7271:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7271 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7271:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7271 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp:7271:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
7271 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/hotair/anaconda/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
lap/_lapjv.cpp: At global scope:
lap/_lapjv.cpp:8628:18: warning: ‘PyObject* __Pyx_PyDict_GetItem(PyObject*, PyObject*)’ defined but not used [-Wunused-function]
8628 | static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
| ^~~~~~~~~~~~~~~~~~~~
error: Command "g++ -pthread -B /home/hotair/anaconda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -O3 -isystem /home/hotair/anaconda/include -fPIC -I/home/hotair/.local/lib/python3.9/site-packages/numpy/_core/include -Ilap -I/home/hotair/.local/lib/python3.9/site-packages/numpy/_core/include -Ibuild/src.linux-aarch64-3.9/numpy/distutils/include -I/home/hotair/anaconda/include/python3.9 -c lap/_lapjv.cpp -o build/temp.linux-aarch64-cpython-39/lap/_lapjv.o -MMD -MF build/temp.linux-aarch64-cpython-39/lap/_lapjv.o.d" failed with exit status 1
INFO:
########### EXT COMPILER OPTIMIZATION ###########
INFO: Platform :
Architecture: aarch64
Compiler : gcc
CPU baseline :
Requested : 'min'
Enabled : NEON NEON_FP16 NEON_VFPV4 ASIMD
Flags : none
Extra checks: none
CPU dispatch :
Requested : 'max -xop -fma4'
Enabled : ASIMDHP ASIMDDP ASIMDFHM
Generated : none
INFO: CCompilerOpt.cache_flush[864] : write cache to path -> /tmp/pip-install-wj12jfzx/lap_3e26f74493674691945d2e91b809b25f/build/temp.linux-aarch64-cpython-39/ccompiler_opt_cache_ext.py
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lap
Running setup.py clean for lap
Building wheel for scikit-learn (setup.py) … error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [35 lines of output]
/tmp/pip-install-wj12jfzx/scikit-learn_32220a944b8242dabcb864e2e29784fb/setup.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See Package Discovery and Resource Access using pkg_resources - setuptools 70.1.1.post20240626 documentation
from pkg_resources import parse_version
Partial import of sklearn during the build process.
/tmp/pip-install-wj12jfzx/scikit-learn_32220a944b8242dabcb864e2e29784fb/setup.py:123: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
from numpy.distutils.command.build_ext import build_ext # noqa
Traceback (most recent call last):
File "/tmp/pip-install-wj12jfzx/scikit-learn_32220a944b8242dabcb864e2e29784fb/sklearn/_build_utils/__init__.py", line 32, in _check_cython_version
import Cython
ModuleNotFoundError: No module named 'Cython'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-wj12jfzx/scikit-learn_32220a944b8242dabcb864e2e29784fb/setup.py", line 303, in <module>
setup_package()
File "/tmp/pip-install-wj12jfzx/scikit-learn_32220a944b8242dabcb864e2e29784fb/setup.py", line 299, in setup_package
setup(**metadata)
File "/home/hotair/.local/lib/python3.9/site-packages/numpy/distutils/core.py", line 135, in setup
config = configuration()
File "/tmp/pip-install-wj12jfzx/scikit-learn_32220a944b8242dabcb864e2e29784fb/setup.py", line 180, in configuration
_check_cython_version()
File "/tmp/pip-install-wj12jfzx/scikit-learn_32220a944b8242dabcb864e2e29784fb/sklearn/_build_utils/__init__.py", line 35, in _check_cython_version
raise ModuleNotFoundError(message)
ModuleNotFoundError: Please install Cython with a version >= 0.28.5 in order to build a scikit-learn from source.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scikit-learn
Running setup.py clean for scikit-learn
Failed to build lap scikit-learn
Installing collected packages: lap, joblib, jdcal, et-xmlfile, easydict, zipp, xmltodict, tqdm, terminaltables, six, setuptools, requests, PyYAML, python-dotenv, pyparsing, pyflakes, pycodestyle, py, pluggy, Pillow, openpyxl, numpy, more-itertools, kiwisolver, fonttools, entrypoints, cycler, colorama, attrs, atomicwrites, shapely, scipy, python-dateutil, packaging, opencv-python, importlib-resources, importlib-metadata, flake8-import-order, flake8, contourpy, Vizer, thop, scikit-learn, pytest, pandas, matplotlib, sklearn, seaborn, pytest-benchmark, pycocotools, motmetrics, mmdet
Running setup.py install for lap … error
error: subprocess-exited-with-error
× Running setup.py install for lap did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
/tmp/pip-install-wj12jfzx/lap_3e26f74493674691945d2e91b809b25f/setup.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See Package Discovery and Resource Access using pkg_resources - setuptools 70.1.1.post20240626 documentation
from pkg_resources import parse_version
Partial import of lap during the build process.
/tmp/pip-install-wj12jfzx/lap_3e26f74493674691945d2e91b809b25f/setup.py:223: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
from numpy.distutils.core import setup
Generating cython files
running install
/home/hotair/.local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
error: [Errno 13] Permission denied: '/home/hotair/anaconda/share/zoneinfo:'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lap
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.