MNE connectivity version: Unknown, will not install
Architecture: Linux opi5 5.10.160-rockchip #33 SMP Sun Mar 17 17:53:10 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
I do: pip install -U mne-connectivity
The installation fails:
Building wheels for collected packages: cftime
Building wheel for cftime (pyproject.toml) … error
error: subprocess-exited-with-error
× Building wheel for cftime (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
running bdist_wheel
running build
running build_py
and
creating build/temp.linux-aarch64-cpython-310/tmp/pip-install-psz7mlfa/cftime_6ee27f0e2ce94367be58d6de6498f13b/src/cftime
aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/tmp/pip-build-env-4qstgyve/overlay/lib/python3.10/site-packages/numpy/core/include -I/home/einar/Prosjekter/EEG01/eeg1/include -I/usr/include/python3.10 -c /tmp/pip-install-psz7mlfa/cftime_6ee27f0e2ce94367be58d6de6498f13b/src/cftime/_cftime.c -o build/temp.linux-aarch64-cpython-310/tmp/pip-install-psz7mlfa/cftime_6ee27f0e2ce94367be58d6de6498f13b/src/cftime/_cftime.o
/tmp/pip-install-psz7mlfa/cftime_6ee27f0e2ce94367be58d6de6498f13b/src/cftime/_cftime.c:44:10: fatal error: Python.h: No such file or directory
44 | #include "Python.h"
| ^~~~~~~~~~
compilation terminated.
error: command '/usr/bin/aarch64-linux-gnu-gcc' 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 cftime
Failed to build cftime
ERROR: Could not build wheels for cftime, which is required to install pyproject.toml-based projects
Any suggestions?
Regards Einar