@motom001
Wie oben schon geschrieben wird DoorPi bei der Installation abgebrochen mit folgender Fehlermeldung:
Code
pi@raspberrypi:~ $ sudo pip install doorpi && sudo doorpi_cli --trace
Collecting doorpi
Downloading DoorPi-2.5.0.0-py2-none-any.whl (104kB)
100% |████████████████████████████████| 112kB 773kB/s
Collecting RPi.GPIO>=0.5.11 (from doorpi)
Downloading RPi.GPIO-0.6.2.tar.gz
Collecting watchdog>=0.8.3 (from doorpi)
Downloading watchdog-0.8.3.tar.gz (83kB)
100% |████████████████████████████████| 92kB 913kB/s
Collecting pyserial>=2.7 (from doorpi)
Downloading pyserial-3.0.1.tar.gz (134kB)
100% |████████████████████████████████| 143kB 703kB/s
Requirement already satisfied (use --upgrade to upgrade): pifacedigitalio>=3.0.5 in /usr/lib/python2.7/dist-packages (from doorpi)
Collecting requests>=2.7.0 (from doorpi)
Downloading requests-2.9.1-py2.py3-none-any.whl (501kB)
100% |████████████████████████████████| 501kB 267kB/s
Collecting PyYAML>=3.10 (from watchdog>=0.8.3->doorpi)
Downloading PyYAML-3.11.tar.gz (248kB)
100% |████████████████████████████████| 256kB 443kB/s
Collecting argh>=0.24.1 (from watchdog>=0.8.3->doorpi)
Downloading argh-0.26.1.tar.gz
Collecting pathtools>=0.1.1 (from watchdog>=0.8.3->doorpi)
Downloading pathtools-0.1.2.tar.gz
Installing collected packages: RPi.GPIO, PyYAML, argh, pathtools, watchdog, pyse rial, requests, doorpi
Running setup.py install for RPi.GPIO ... error
Complete output from command /usr/bin/python -u -c "import setuptools, token ize;__file__='/tmp/pip-build-_JsllN/RPi.GPIO/setup.py';exec(compile(getattr(toke nize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-0wVGsV-record/install-record.txt --single-version-exte rnally-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-prot otypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wfo rmat -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
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-b uild-_JsllN/RPi.GPIO/setup.py';exec(compile(getattr(tokenize, 'open', open)(__fi le__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pi p-0wVGsV-record/install-record.txt --single-version-externally-managed --compile " failed with error code 1 in /tmp/pip-build-_JsllN/RPi.GPIO/
pi@raspberrypi:~ $
Alles anzeigen
Ich habe es nun mehrfach versucht mit immer neu aufgestzten Raspbian bekomme aber immer die gleiche Fehlermeldung.