Open wiemrachman opened 3 years ago
when run 'make' i get error as below -ccopt "-Wall -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -I -I/usr/include/python2.7" \ -o pycaml_stubs.o pycaml_stubs.c pycaml_stubs.c:16:10: fatal error: Python.h: No such file or directory 16 | #include "Python.h" | ^~~~~~ compilation terminated. make[3]: [Makefile:146: pycaml_stubs.o] Error 2 rm dimensions_lexer.ml make[3]: Leaving directory '/home/wiem/Dev/nmagMods/nmag-0.2.1/nsim/src' make[2]: [Makefile:18: all] Error 2 make[2]: Leaving directory '/home/wiem/Dev/nmagMods/nmag-0.2.1/nsim'
How to fix it? Thank a lot
Fyi, I am using Ubuntu version 20.04
when run 'make' i get error as below -ccopt "-Wall -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -I -I/usr/include/python2.7" \ -o pycaml_stubs.o pycaml_stubs.c pycaml_stubs.c:16:10: fatal error: Python.h: No such file or directory 16 | #include "Python.h" | ^
~~~~~ compilation terminated. make[3]: [Makefile:146: pycaml_stubs.o] Error 2 rm dimensions_lexer.ml make[3]: Leaving directory '/home/wiem/Dev/nmagMods/nmag-0.2.1/nsim/src' make[2]: [Makefile:18: all] Error 2 make[2]: Leaving directory '/home/wiem/Dev/nmagMods/nmag-0.2.1/nsim'How to fix it? Thank a lot