The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Dec 27 20:29:38 2016 from ipad-von-petra.fritz.box pi@raspberrypi:~ $ sudo pip install --upgrade doorpi Collecting doorpi Using cached DoorPi-2.5.1-py2-none-any.whl Requirement already up-to-date: pifacecommon>=4.1.2 in /usr/lib/python2.7/dist-packages (from doorpi) Collecting RPi.GPIO>=0.5.11 (from doorpi) Using cached RPi.GPIO-0.6.3.tar.gz Collecting requests>=2.7.0 (from doorpi) Using cached requests-2.12.4-py2.py3-none-any.whl Requirement already up-to-date: picamera>=1.10 in /usr/local/lib/python2.7/dist-packages (from doorpi) Requirement already up-to-date: watchdog>=0.8.3 in /usr/local/lib/python2.7/dist-packages/watchdog-0.8.3-py2.7.egg (from doorpi) Requirement already up-to-date: pifacedigitalio>=3.0.5 in /usr/lib/python2.7/dist-packages (from doorpi) Collecting pyserial>=2.7 (from doorpi) Using cached pyserial-3.2.1-py2.py3-none-any.whl Collecting PyYAML>=3.10 (from watchdog>=0.8.3->doorpi) Collecting argh>=0.24.1 (from watchdog>=0.8.3->doorpi) Using cached argh-0.26.2-py2.py3-none-any.whl Requirement already up-to-date: pathtools>=0.1.1 in /usr/local/lib/python2.7/dist-packages/pathtools-0.1.2-py2.7.egg (from watchdog>=0.8.3->doorpi) Building wheels for collected packages: RPi.GPIO Running setup.py bdist_wheel for RPi.GPIO ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9XXWb1/RPi.GPIO/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpyAJMH6pip-wheel- --python-tag cp27: running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-2.7 creating build/lib.linux-armv7l-2.7/RPi copying RPi/__init__.py -> build/lib.linux-armv7l-2.7/RPi creating build/lib.linux-armv7l-2.7/RPi/GPIO copying RPi/GPIO/__init__.py -> build/lib.linux-armv7l-2.7/RPi/GPIO running build_ext building 'RPi._GPIO' extension creating build/temp.linux-armv7l-2.7 creating build/temp.linux-armv7l-2.7/source arm-linux-gnueabihf-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 source/py_gpio.c -o build/temp.linux-armv7l-2.7/source/py_gpio.o source/py_gpio.c:23:20: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden #include "Python.h" ^ compilation terminated. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for RPi.GPIO Running setup.py clean for RPi.GPIO Failed to build RPi.GPIO Installing collected packages: RPi.GPIO, requests, pyserial, doorpi, PyYAML, argh Found existing installation: RPi.GPIO 0.6.1 DEPRECATION: Uninstalling a distutils installed project (RPi.GPIO) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project. Uninstalling RPi.GPIO-0.6.1: Successfully uninstalled RPi.GPIO-0.6.1 Running setup.py install for RPi.GPIO ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9XXWb1/RPi.GPIO/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-jODEjR-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.linux-armv7l-2.7 creating build/lib.linux-armv7l-2.7/RPi copying RPi/__init__.py -> build/lib.linux-armv7l-2.7/RPi creating build/lib.linux-armv7l-2.7/RPi/GPIO copying RPi/GPIO/__init__.py -> build/lib.linux-armv7l-2.7/RPi/GPIO running build_ext building 'RPi._GPIO' extension creating build/temp.linux-armv7l-2.7 creating build/temp.linux-armv7l-2.7/source arm-linux-gnueabihf-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 source/py_gpio.c -o build/temp.linux-armv7l-2.7/source/py_gpio.o source/py_gpio.c:23:20: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden #include "Python.h" ^ compilation terminated. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 ---------------------------------------- Rolling back uninstall of RPi.GPIO Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9XXWb1/RPi.GPIO/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-jODEjR-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-9XXWb1/RPi.GPIO/ pi@raspberrypi:~ $