Closed benoitpaillard closed 9 months ago
Hi, please make sure to update config.mk
such that PYTHON
, PYTHON-CONFIG
, and F2PY
are correctly configured for your python installation.
Hi, this was already adapted.
Upgrading from Ubuntu 20.04 to 22.04 solved the issue.
As a sidenote I've moved to Docker due to other issues with lib compilation https://mdolab-mach-aero.readthedocs-hosted.com/en/latest/installInstructions/dockerInstructions.html
Description
When trying to compile pyspline as described in doc, with config/defaults/config.LINUX_GFORTRAN.mk, I'm getting an error on final import test
Error: /home/jony/pyspline/src/f2py/libspline.so: undefined symbol: Npy__PyLong_AsInt
Downgrading numpy from 1.24 to 1.18 solves this issue, but then breaks pandas and scipy
Steps to reproduce issue
Current behavior
Error: /home/jony/pyspline/src/f2py/libspline.so: undefined symbol: Npy__PyLong_AsInt
Expected behavior
Testing if module libspline can be imported... Module libspline was successfully imported
Code versions