Comments (5)
Seems as pip3 install -U pip
helped with the above but now I'm getting this:
Starting
Traceback (most recent call last):
File "./gateway.py", line 30, in <module>
manager.register_workers(settings['manager']).start(mqtt)
File "/home/pi/bt-mqtt-gateway/workers_manager.py", line 34, in register_workers
module_obj = importlib.import_module("workers.%s" % worker_name)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/home/pi/bt-mqtt-gateway/workers/thermostat.py", line 5, in <module>
from workers.base import BaseWorker
File "/home/pi/bt-mqtt-gateway/workers/base.py", line 11
return '/'.join([self.topic_prefix, *args])
^
SyntaxError: can use starred expression only as assignment target
from bt-mqtt-gateway.
Hi
from what I've googled, that syntax is supported from python 3.5. I've wrote it with python 3.6, so not sure what more can not work on older versions. Try newer python, it should work then.
from bt-mqtt-gateway.
@zewelor thanks. I'll try that. Installing python 3.7 as we speak. however on my rpi 1 this will probably take a few days... will report back
from bt-mqtt-gateway.
@zewelor a few days later I got python3.6 installed and all the dependencies. and the gateway runs.
Thanks!
from bt-mqtt-gateway.
Great to hear that ! I've added python >= 3.5 to readme to avoid future confusion
from bt-mqtt-gateway.
Related Issues (20)
- Docker container doesn't start up on RasPi - pyinit_main: can't initialize time HOT 2
- Add support for Soocas X5 Toothbrush
- Possibly the installation instructions are not correct (SUDO is not used consistently) HOT 3
- Docker images Exited (139) HOT 2
- node_id = mac.replace(":", "-") = AttributeError: 'dict' object has no attribute 'replace' HOT 1
- Does it work with ESPHome?
- Problem with negative temperature / signed values HOT 1
- Gateway not starting as systemctl service HOT 2
- solved: Type error HOT 1
- hardware compatibility HOT 13
- Clarify why this needs to be run in a virtual environment HOT 1
- null values from LYWSD03MMC HOT 5
- blescanmulti worker not publishing to MQTT
- Systemd Installation like in README does not work, service.sh might have superfluous sudo
- Error message if bt-mqtt-gateway is started as home assistant addon HOT 8
- Support for MQTT climate hold and away modes has been removed in HA. HOT 2
- Missing MQTT messages HOT 2
- Anyway to setup on qnap?
- Docker configure.yaml HOT 1
- maybe use eq3btsmart to modernize eq3 thermostat handling? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bt-mqtt-gateway.