bt-mqtt-gateway
bt-mqtt-gateway copied to clipboard
Error Gateway with Virtualenv
Hi, I’ve got a RPI 3B+ with Rasbian 10. I follow your instruction to install the gateway with virtualenv to use it with miflora. The installation seams good, no error, I installed the miflora library, but the gateway doeasn’t start with this error:
(.venv) pi@Pi:~/bt-mqtt-gateway $ sudo ./gateway.py -d
Traceback (most recent call last):
File "./gateway.py", line 11, in
Can you help me?
Ciao
Stefano
try without sudo
another error:
(.venv) pi@Pi:~/bt-mqtt-gateway $ ./gateway.py
20:58:47 Starting
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
20:58:50 Adding 1 miflora devices
Traceback (most recent call last):
File "./gateway.py", line 83, in
Looks like you cannot connect to specified mqtt server. Double check ip and if its reachable form rpi