Issue #381 duplicate
Im running Debian 8 and pyton 2.7.9. Although coverage run <program> etc work extremely well, I got the following message when getting the package from pip.
Will close this immediately if it is a non issue.
Downloading/unpacking coverage Downloading coverage-3.7.1.tar.gz (284kB): 284kB downloaded Running setup.py (path:/tmp/pip-build-loURon/coverage/setup.py) egg_info for package coverage warning: no previously-included files matching '*.pyc' found anywhere in distribution Installing collected packages: coverage Running setup.py install for coverage building 'coverage.tracer' extension i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c coverage/tracer.c -o build/temp.linux-i686-2.7/coverage/tracer.o coverage/tracer.c:3:20: fatal error: Python.h: No such file or directory #include "Python.h" ^ compilation terminated. ** ** Couldn't install with extension module, trying without it... ** BuildFailed: command 'i586-linux-gnu-gcc' failed with exit status 1 ** warning: no previously-included files matching '*.pyc' found anywhere in distribution Installing coverage2 script to /usr/local/bin Installing coverage-2.7 script to /usr/local/bin Installing coverage script to /usr/local/bin Successfully installed coverage Cleaning up...