Open masonlogan1 opened 1 year ago
This is happening because you have bitstring 4 installed. Try forcing a bitstring==3.1.9
. Source needs to be updated to support both pyproject.toml and bitstring 4.
Sorry, I'm struggling with the same issue too. How would we set this configuration? I'd be willing to contribute changes to products.py also. I had an issue a while back where my fixtures weren't included. Really need to get back up and running again. Had to switch computers now I'm down.
C:\lifxe131-master>python e131_receive.py
Discovering lights...
Traceback (most recent call last):
File "C:\lifxe131-master\e131_receive.py", line 38, in
That worked great. Thanks!!
On Fri, Aug 4, 2023 at 11:16 PM pedantic79 @.***> wrote:
@HaberHash https://github.com/HaberHash The problem is that the current version of lifxlan only works with v3 of bitstring, and you have v4 of bitstring.
So your options are:
- If you pip install lifxlan, then run pip list, you should see bitstring 4.0.2 (or some other version 4 bitstring package). To fix this run pip install bitstring==3.1.9, this will force your install to work.
- Rather than installing in a global python package directory, consider using venv https://docs.python.org/3/library/venv.html. Once your venv is activated, then follow the instructions in 1. This solution is useful if you have other things that depend on bitstring and installing bitstring==3.1.9 will conflict globally.
- Wait until there is a version of lifxlan that supports bitstring 4
— Reply to this email directly, view it on GitHub https://github.com/mclarkk/lifxlan/issues/177#issuecomment-1666369208, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPDGJKU7LTEW4KJSCSSEXTXTW3HNANCNFSM6AAAAAAVBPPJPM . You are receiving this because you were mentioned.Message ID: @.***>
This appears related to issue #173 which was fixed by #174. According to PyPi, the last version released was May 1, 2021. As of right now, the package available via pip appears to be unusable due to the bitstring.CreationError exception.
Trying to use pip install to include the package in the project and discover lights results in the following error: