Skip to content

yeelightbt not working on rpi #36

@svennd

Description

@svennd

I installed your library as suggested :
pip3 install git+https://github.com/rytilahti/python-yeelightbt/

Sadly when trying anything I get this error : (python 3.7) Any idea where I should look ?

  File "/usr/local/bin/yeelightbt", line 6, in <module>
    from yeelightbt.cli import cli
  File "/usr/local/lib/python3.7/dist-packages/yeelightbt/__init__.py", line 2, in <module>
    from .lamp import Lamp
  File "/usr/local/lib/python3.7/dist-packages/yeelightbt/lamp.py", line 7, in <module>
    from .structures import Request, Response, StateResult
  File "/usr/local/lib/python3.7/dist-packages/yeelightbt/structures.py", line 4, in <module>
    from construct import (
ImportError: cannot import name 'Embedded' from 'construct' (/usr/local/lib/python3.7/dist-packages/construct/__init__.py)

thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions