Nastra wollte das eben installieren und habe nur Fehlermeldungen bekommen.
pi@raspberrypi:~ $ sudo pip install ntfy[telegram]
Downloading/unpacking ntfy[telegram]
Downloading ntfy-2.5.1-py2.py3-none-any.whl (54kB): 54kB downloaded
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python2.7/dist-packages (from ntfy[telegram])
Downloading/unpacking ruamel.yaml (from ntfy[telegram])
Downloading ruamel.yaml-0.15.35.tar.gz (260kB): 260kB downloaded
Running setup.py (path:/tmp/pip-build-WaJRDD/ruamel.yaml/setup.py) egg_info for package ruamel.yaml
sys.argv ['-c', 'egg_info', '--egg-base', 'pip-egg-info']
Downloading/unpacking appdirs (from ntfy[telegram])
Downloading appdirs-1.4.3-py2.py3-none-any.whl
Downloading/unpacking telegram-send (from ntfy[telegram])
Downloading telegram_send-0.18.1-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): colorama in /usr/lib/python2.7/dist-packages (from telegram-send->ntfy[telegram])
Downloading/unpacking python-telegram-bot>=5.0 (from telegram-send->ntfy[telegram])
Downloading python_telegram_bot-10.0.0-py2.py3-none-any.whl (299kB): 299kB downloaded
Downloading/unpacking future>=0.16.0 (from python-telegram-bot>=5.0->telegram-send->ntfy[telegram])
Downloading future-0.16.0.tar.gz (824kB): 824kB downloaded
Running setup.py (path:/tmp/pip-build-WaJRDD/future/setup.py) egg_info for package future
warning: no files found matching '*.au' under directory 'tests'
warning: no files found matching '*.gif' under directory 'tests'
warning: no files found matching '*.txt' under directory 'tests'
Downloading/unpacking certifi (from python-telegram-bot>=5.0->telegram-send->ntfy[telegram])
Downloading certifi-2018.1.18-py2.py3-none-any.whl (151kB): 151kB downloaded
Installing collected packages: ntfy, ruamel.yaml, appdirs, telegram-send, python-telegram-bot, future, certifi
Running setup.py install for ruamel.yaml
sys.argv ['-c', 'install', '--record', '/tmp/pip-8ZaiM3-record/install-record.txt', '--single-version-externally-managed', '--compile']
building '_ruamel_yaml' extension
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 ext/_ruamel_yaml.c -o build/temp.linux-armv7l-2.7/ext/_ruamel_yaml.o
ext/_ruamel_yaml.c:4: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
Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-WaJRDD/ruamel.yaml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-8ZaiM3-record/install-record.txt --single-version-externally-managed --compile:
sys.argv ['-c', 'install', '--record', '/tmp/pip-8ZaiM3-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/ruamel
copying .ruamel/__init__.py -> build/lib.linux-armv7l-2.7/ruamel
creating build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./serializer.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./nodes.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./scanner.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./compat.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./util.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./scalarstring.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./tokens.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./emitter.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./timestamp.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./__init__.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./scalarint.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./dumper.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./composer.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./resolver.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./parser.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./comments.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./loader.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./reader.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./constructor.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./cyaml.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./error.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./representer.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./configobjwalker.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./scalarfloat.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./setup.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./main.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./events.py -> build/lib.linux-armv7l-2.7/ruamel/yaml
copying ./LICENSE -> build/lib.linux-armv7l-2.7/ruamel/yaml
running build_ext
building '_ruamel_yaml' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/ext
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 ext/_ruamel_yaml.c -o build/temp.linux-armv7l-2.7/ext/_ruamel_yaml.o
ext/_ruamel_yaml.c:4: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
----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-WaJRDD/ruamel.yaml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-8ZaiM3-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-WaJRDD/ruamel.yaml
Storing debug log for failure in /root/.pip/pip.log
pi@raspberrypi:~ $ ntfy -b telegram send test
Traceback (most recent call last):
File "/usr/local/bin/ntfy", line 7, in <module>
from ntfy.cli import main
File "/usr/local/lib/python2.7/dist-packages/ntfy/cli.py", line 10, in <module>
from .config import (DEFAULT_CONFIG, OLD_DEFAULT_CONFIG, SITE_DEFAULT_CONFIG,
File "/usr/local/lib/python2.7/dist-packages/ntfy/config.py", line 8, in <module>
from appdirs import site_config_dir, user_config_dir
ImportError: No module named appdirs
Alles anzeigen
Ich denke ich muss alles neu aufspielen. (Homebridge,npm,node)
Nun habe ich die Anleitung zum Umzug gelesen.
Ist es richtig das ich ein neues Homebridge fertig mache und dann einfach meine Einstellungen darin übernehmen kann?
Sollte ich dann alle Plugins sowie meine HomeKit Einstellungen behalten?