[rsf-user] intallation error madagascar-3.1.1 in ubuntu 22.04

1 view
Skip to first unread message

Daniel Leal Macedo

unread,
Apr 28, 2022, 10:28:55 AM4/28/22
to rsf user
Good day.

I tried to install madagascar 3.1.1 in ubuntu 22.04 and got this error:

gcc -o build/api/python/m8r_wrap.os -c -O2 -x c -std=gnu17 -Wall -pedantic -fopenmp -fPIC -Ibuild/include -I/usr/include/tirpc -I/usr/lib/python3/dist-packages/numpy/numarray/numpy -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.10 build/api/python/m8r_wrap.c
build/api/python/m8r_wrap.c:154:11: fatal error: Python.h: No such file or directory
  154 | # include <Python.h>
      |           ^~~~~~~~~~
compilation terminated.
scons: *** [build/api/python/m8r_wrap.os] Error 1
scons: building terminated because of errors.
make: *** [Makefile:7: install] Error 2

Any suggestions about what to do would be appreciated.

Best regards,
Daniel Macedo

Herling G.A.

unread,
Apr 28, 2022, 1:03:05 PM4/28/22
to Daniel Leal Macedo, rsf user
Hello, in ubuntu you can do:
sudo apt install python-dev-is-python3

Best regards

_______________________________________________
RSF-user mailing list
RSF-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsf-user
Reply all
Reply to author
Forward
0 new messages