-
Notifications
You must be signed in to change notification settings - Fork 4
Description
pip3 install failed:
~/ python
Python 3.9.18 (main, Oct 14 2023, 10:36:27)
[Clang 15.0.0 (clang-1500.0.40.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
~/ pip3.9 install das2py
Collecting das2py
Downloading das2py-2.3.0.tar.gz (175 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.5/175.5 kB 8.3 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in ./.local/lib/python3.9/site-packages (from das2py) (1.26.4)
Requirement already satisfied: lxml in ./.local/lib/python3.9/site-packages (from das2py) (4.9.4)
Building wheels for collected packages: das2py
Building wheel for das2py (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for das2py (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
/private/var/folders/th/9f_j0kks1yd16x3m9dyjs6hr0000gp/T/pip-build-env-dgpl1bxc/overlay/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py:68: _ToolsTypoInMetadata: Ignoring [tools.setuptools] in pyproject.toml, did you mean [tool.setuptools]?
config = read_configuration(filepath, True, ignore_option_errors, dist)
/private/var/folders/th/9f_j0kks1yd16x3m9dyjs6hr0000gp/T/pip-build-env-dgpl1bxc/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: SetuptoolsWarning: install_requires overwritten in pyproject.toml (dependencies)
corresp(dist, value, root_dir)
(setup.py) DAS2C_LIBDIR = ../das2C/build.
(setup.py) DAS2C_INCDIR = ../das2C
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-14.0-arm64-cpython-39
creating build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/auth.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/dastime.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/cdf.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/util.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/init.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/container.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/dataset.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/reader.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/cli.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/mpl.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/pkt.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/node.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/source.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/streamsrc.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
copying das2/toml.py -> build/lib.macosx-14.0-arm64-cpython-39/das2
creating build/lib.macosx-14.0-arm64-cpython-39/das2/pycdf
copying das2/pycdf/init.py -> build/lib.macosx-14.0-arm64-cpython-39/das2/pycdf
copying das2/pycdf/const.py -> build/lib.macosx-14.0-arm64-cpython-39/das2/pycdf
running egg_info
writing das2py.egg-info/PKG-INFO
writing dependency_links to das2py.egg-info/dependency_links.txt
writing requirements to das2py.egg-info/requires.txt
writing top-level names to das2py.egg-info/top_level.txt
reading manifest file 'das2py.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'das2py.egg-info/SOURCES.txt'
creating build/lib.macosx-14.0-arm64-cpython-39/das2/xsd
copying das2/xsd/das-basic-doc-ns-v3.0.xsd -> build/lib.macosx-14.0-arm64-cpython-39/das2/xsd
copying das2/xsd/das-basic-stream-ns-v3.0.xsd -> build/lib.macosx-14.0-arm64-cpython-39/das2/xsd
copying das2/xsd/das-basic-stream-v2.2.xsd -> build/lib.macosx-14.0-arm64-cpython-39/das2/xsd
copying das2/xsd/das-basic-stream-v3.0.xsd -> build/lib.macosx-14.0-arm64-cpython-39/das2/xsd
running build_ext
building '_das2' extension
creating build/temp.macosx-14.0-arm64-cpython-39
creating build/temp.macosx-14.0-arm64-cpython-39/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -I/opt/homebrew/opt/qt@5/include -I../das2C -I./src -I/opt/homebrew/lib/python3.9/site-packages/numpy/core/include -I/Users/aizuchi/.pyenv/versions/3.9.18/include/python3.9 -c src/_das2.c -o build/temp.macosx-14.0-arm64-cpython-39/src/_das2.o -std=c99 -ggdb -O0
src/_das2.c:26:10: fatal error: 'numpy/arrayobject.h' file not found
#include <numpy/arrayobject.h>
^~~~~~~~~~~~~~~~~~~~~
1 error 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 das2py
Failed to build das2py
ERROR: Could not build wheels for das2py, which is required to install pyproject.toml-based projects