You are not logged in.

#1 2022-05-01 09:12:11

Spiritblue
Member
Registered: 2022-05-01
Posts: 1

easier way to find header files of python-numpy?

Is there a way to automatically link "/usr/lib/python3.10/site-packages/numpy/core/include/numpy" to /usr/include/python3.10/numpy when installing python-numpy many thanks!
In ubuntu, this is automatically done by apt

Last edited by Spiritblue (2022-05-01 09:15:31)

Offline

#2 2022-05-23 05:54:18

pineappletoad
Member
Registered: 2022-05-23
Posts: 1

Re: easier way to find header files of python-numpy?

I am creating some AUR packages and am having the same issue. I have an ugly workaround for now which adds additional CFLAGS to my build, but it isn't ideal.

Offline

#3 2022-05-23 07:18:33

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: easier way to find header files of python-numpy?

* add /usr/lib/python3.10/site-packages to the PYTHONPATH environment variable
* use an https://wiki.archlinux.org/title/Pacman#Hooks to manage the symlink
* file a bug against the package (but I'd not expect that to happen)

Offline

Board footer

Powered by FluxBB