Failed again with libvirt-dev installed but seems better :
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I/usr/include/python3.6m -I/openstack/venvs/masakari-20.1.2/include/python3.6m -c libvirt-override.c -o build/temp.linux-x86_64-3.6/libvirt-override.o 2020-07-11T19:27:32,443 libvirt-override.c:20:10: fatal error: Python.h: No such file or directory 2020-07-11T19:27:32,443 #include <Python.h> 2020-07-11T19:27:32,443 ^~~~~~~~~~ 2020-07-11T19:27:32,443 compilation terminated. 2020-07-11T19:27:32,463 error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 2020-07-11T19:27:32,498 Running setup.py install for libvirt-python: finished with status 'error'
So I'll install python3-dev and try again...
Failed again with libvirt-dev installed but seems better :
x86_64- linux-gnu- gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack- protector- strong -Wformat -Werror= format- security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I/usr/ include/ python3. 6m -I/openstack/ venvs/masakari- 20.1.2/ include/ python3. 6m -c libvirt-override.c -o build/temp. linux-x86_ 64-3.6/ libvirt- override. o 11T19:27: 32,443 libvirt- override. c:20:10: fatal error: Python.h: No such file or directory 11T19:27: 32,443 #include <Python.h> 11T19:27: 32,443 ^~~~~~~~~~ 11T19:27: 32,443 compilation terminated. 11T19:27: 32,463 error: command 'x86_64- linux-gnu- gcc' failed with exit status 1 11T19:27: 32,498 Running setup.py install for libvirt-python: finished with status 'error'
2020-07-
2020-07-
2020-07-
2020-07-
2020-07-
2020-07-
So I'll install python3-dev and try again...