i got error when trying to do cpuset -l 0 pip install contourpy==1.3.2
the error like this:
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [59 lines of output]
+ meson setup /tmp/pip-install-oq1e6cjk/contourpy_7e7e3a20441c400387eb714717957453 /tmp/pip-install-oq1e6cjk/contourpy_7e7e3a20441c400387eb714717957453/.mesonpy-6d4c3li9 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=/tmp/pip-install-oq1e6cjk/contourpy_7e7e3a20441c400387eb714717957453/.mesonpy-6d4c3li9/meson-python-native-file.ini
The Meson build system
Version: 1.9.1
Source dir: /tmp/pip-install-oq1e6cjk/contourpy_7e7e3a20441c400387eb714717957453
Build dir: /tmp/pip-install-oq1e6cjk/contourpy_7e7e3a20441c400387eb714717957453/.mesonpy-6d4c3li9
Build type: native build
Project name: contourpy
Project version: 1.3.2
C++ compiler for the host machine: c++ (clang 18.1.5 "FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9)")
C++ linker for the host machine: c++ ld.lld 18.1.5
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (/usr/home/mulaab/.virtualenvs/csv_pneumonia/bin/python)
Found pkg-config: YES (/usr/local/bin/pkg-config) 2.2.0
Run-time dependency pybind11 found: YES 2.12.0
Configuring _build_config.py using configuration
Run-time dependency python found: YES 3.11
Build targets in project: 1
contourpy 1.3.2
Build config
host_cpu : x86_64
build_cpu : x86_64
cross_build : false
optimization: 3
User defined options
Native files: /tmp/pip-install-oq1e6cjk/contourpy_7e7e3a20441c400387eb714717957453/.mesonpy-6d4c3li9/meson-python-native-file.ini
b_ndebug : if-release
b_vscrt : md
buildtype : release
vsenv : true
Found ninja-1.11.1 at /usr/local/bin/ninja
Visual Studio environment is needed to run Ninja. It is recommended to use Meson wrapper:
/tmp/pip-build-env-65bfdi9k/overlay/bin/meson compile -C .
+ /usr/local/bin/ninja -v
[1/15] c++ -Isrc/_contourpy.cpython-311.so.p -Isrc -I../src -I/include -I/usr/local/include/python3.11 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -fPIC -DCONTOURPY_VERSION=1.3.2 -MD -MQ src/_contourpy.cpython-311.so.p/contour_generator.cpp.o -MF src/_contourpy.cpython-311.so.p/contour_generator.cpp.o.d -o src/_contourpy.cpython-311.so.p/contour_generator.cpp.o -c ../src/contour_generator.cpp
FAILED: src/_contourpy.cpython-311.so.p/contour_generator.cpp.o
c++ -Isrc/_contourpy.cpython-311.so.p -Isrc -I../src -I/include -I/usr/local/include/python3.11 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -fPIC -DCONTOURPY_VERSION=1.3.2 -MD -MQ src/_contourpy.cpython-311.so.p/contour_generator.cpp.o -MF src/_contourpy.cpython-311.so.p/contour_generator.cpp.o.d -o src/_contourpy.cpython-311.so.p/contour_generator.cpp.o -c ../src/contour_generator.cpp
In file included from ../src/contour_generator.cpp:1:
In file included from ../src/contour_generator.h:4:
../src/common.h:4:10: fatal error: 'pybind11/pybind11.h' file not found
4 | #include <pybind11/pybind11.h>
| ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/15] c++ -Isrc/_contourpy.cpython-311.so.p -Isrc -I../src -I/include -I/usr/local/include/python3.11 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -fPIC -DCONTOURPY_VERSION=1.3.2 -MD -MQ src/_contourpy.cpython-311.so.p/chunk_local.cpp.o -MF src/_contourpy.cpython-311.so.p/chunk_local.cpp.o.d -o src/_contourpy.cpython-311.so.p/chunk_local.cpp.o -c ../src/chunk_local.cpp
FAILED: src/_contourpy.cpython-311.so.p/chunk_local.cpp.o
c++ -Isrc/_contourpy.cpython-311.so.p -Isrc -I../src -I/include -I/usr/local/include/python3.11 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -std=c++17 -O3 -fPIC -DCONTOURPY_VERSION=1.3.2 -MD -MQ src/_contourpy.cpython-311.so.p/chunk_local.cpp.o -MF src/_contourpy.cpython-311.so.p/chunk_local.cpp.o.d -o src/_contourpy.cpython-311.so.p/chunk_local.cpp.o -c ../src/chunk_local.cpp
In file included from ../src/chunk_local.cpp:1:
In file included from ../src/chunk_local.h:4:
In file included from ../src/output_array.h:4:
../src/common.h:4:10: fatal error: 'pybind11/pybind11.h' file not found
4 | #include <pybind11/pybind11.h>
| ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
please help @admin