Skip to content

Instantly share code, notes, and snippets.

@djkonro
Created January 24, 2018 08:12
Show Gist options
  • Save djkonro/e27d6413cbceda14b1f7afe05d040c13 to your computer and use it in GitHub Desktop.
Save djkonro/e27d6413cbceda14b1f7afe05d040c13 to your computer and use it in GitHub Desktop.
running install
running build
running build_ext
checking for getifaddrs...found.
checking for getnameinfo...found.
checking for IPv6 socket IOCTLs...not found.
checking for optional header files...netash/ash.h netatalk/at.h netax25/ax25.h neteconet/ec.h netipx/ipx.h netpacket/packet.h linux/irda.h linux/atm.h linux/llc.h linux/tipc.h linux/dn.h.
checking whether struct sockaddr has a length field...no.
checking which sockaddr_xxx structs are defined...at ax25 in in6 ipx un ash ec ll atmpvc atmsvc dn irda llc.
checking for routing socket support...no.
checking for sysctl(CTL_NET...) support...no.
checking for netlink support...yes.
will use netlink to read routing table
building 'netifaces' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DNETIFACES_VERSION=0.10.6 -DHAVE_GETIFADDRS=1 -DHAVE_GETNAMEINFO=1 -DHAVE_NETASH_ASH_H=1 -DHAVE_NETATALK_AT_H=1 -DHAVE_NETAX25_AX25_H=1 -DHAVE_NETECONET_EC_H=1 -DHAVE_NETIPX_IPX_H=1 -DHAVE_NETPACKET_PACKET_H=1 -DHAVE_LINUX_IRDA_H=1 -DHAVE_LINUX_ATM_H=1 -DHAVE_LINUX_LLC_H=1 -DHAVE_LINUX_TIPC_H=1 -DHAVE_LINUX_DN_H=1 -DHAVE_SOCKADDR_AT=1 -DHAVE_SOCKADDR_AX25=1 -DHAVE_SOCKADDR_IN=1 -DHAVE_SOCKADDR_IN6=1 -DHAVE_SOCKADDR_IPX=1 -DHAVE_SOCKADDR_UN=1 -DHAVE_SOCKADDR_ASH=1 -DHAVE_SOCKADDR_EC=1 -DHAVE_SOCKADDR_LL=1 -DHAVE_SOCKADDR_ATMPVC=1 -DHAVE_SOCKADDR_ATMSVC=1 -DHAVE_SOCKADDR_DN=1 -DHAVE_SOCKADDR_IRDA=1 -DHAVE_SOCKADDR_LLC=1 -DHAVE_PF_NETLINK=1 -I/usr/include/python3.5m -I/home/konrad/myfunctest/functest-kubernetes/.tox/py35/include/python3.5m -c netifaces.c -o build/temp.linux-x86_64-3.5/netifaces.o
netifaces.c:1:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/home/konrad/myfunctest/functest-kubernetes/.tox/py35/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-o6_comyg/netifaces/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-urffzs_k-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/konrad/myfunctest/functest-kubernetes/.tox/py35/include/site/python3.5/netifaces" failed with error code 1 in /tmp/pip-build-o6_comyg/netifaces/
ERROR: could not install deps [-r/home/konrad/myfunctest/functest-kubernetes/test-requirements.txt]; v = InvocationError('/home/konrad/myfunctest/functest-kubernetes/.tox/py35/bin/pip install -r/home/konrad/myfunctest/functest-kubernetes/test-requirements.txt (see /home/konrad/myfunctest/functest-kubernetes/.tox/py35/log/py35-1.log)', 1)
___________________________________ summary ____________________________________
ERROR: py35: could not install deps [-r/home/konrad/myfunctest/functest-kubernetes/test-requirements.txt]; v = InvocationError('/home/konrad/myfunctest/functest-kubernetes/.tox/py35/bin/pip install -r/home/konrad/myfunctest/functest-kubernetes/test-requirements.txt (see /home/konrad/myfunctest/functest-kubernetes/.tox/py35/log/py35-1.log)', 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment