installing LHAPDF-6.1.6
Hello,
I am trying to install LHAPDF-6.1.6 but don't know how to do it.
I am following the tutorial as given on https:/
Also, I gave a path to HEPTOOLS later and went to step 2 which is make. But this is the error I get.
Making all in src
make[1]: Entering directory '/home/
Making all in yamlcpp
make[2]: Entering directory '/home/
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/
make[2]: Entering directory '/home/
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/
make[1]: Leaving directory '/home/
Making all in include
make[1]: Entering directory '/home/
Making all in LHAPDF
make[2]: Entering directory '/home/
make all-am
make[3]: Entering directory '/home/
make[3]: Leaving directory '/home/
make[2]: Leaving directory '/home/
make[2]: Entering directory '/home/
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/
make[1]: Leaving directory '/home/
Making all in wrappers
make[1]: Entering directory '/home/
Making all in python
make[2]: Entering directory '/home/
CC=gcc CXX=g++ /usr/bin/python setup.py install --install-
running install
running build
running build_ext
building 'lhapdf' extension
gcc -fno-strict-
lhapdf.cpp:4:10: fatal error: Python.h: No such file or directory
4 | #include "Python.h"
| ^~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
make[2]: *** [Makefile:483: all-local] Error 1
make[2]: Leaving directory '/home/
make[1]: *** [Makefile:374: all-recursive] Error 1
make[1]: Leaving directory '/home/
make: *** [Makefile:549: all-recursive] Error 1
Thanks
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Burhani Taher Saifuddin for more information if necessary.