Installing Python.h for Pip Installs Trying to install GitPython and got the error fatal error: Python.h: No such file or directory And found the solution here here: sudo apt-get update sudo apt-get install python-dev