Closed halsa011 closed 1 year ago
I will close this for now as i figured it worked in the base conda environment and wasn't working under the new conda environment. so apparently the newly created environment didn't access the same system libraries for some reason.
Hello Damir, i am trying to install the asterix package using the setup.py install command on an offline almalinux8 machine. the installation is interrupted with following error message:
building '_asterix' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src creating build/temp.linux-x86_64-3.6/src/python creating build/temp.linux-x86_64-3.6/src/asterix gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I./asterix/python -I./src/asterix -I./src/engine -I/usr/include/python3.6m -c ./src/python/asterix.c -o build/temp.linux-x86_64-3.6/./src/python/asterix.o -DPYTHON_WRAPPER ./src/python/asterix.c:25:10: schwerwiegender Fehler: Python.h: Datei oder Verzeichnis nicht gefunden
include
Kompilierung beendet. error: command 'gcc' failed with exit status 1
it says Python.h File or Directory not found Any Ideas? Thank you