Open spencercap opened 1 month ago
ah, solved (ish) downgraded to python v 3.6.15 and it works as expected.
didnt mess about further to find which version it breaks at
same issue, I'm on Python 3.8.8.
Looks like this was fixed in this PR, as pointed out by this issue. I ran into this on Python 3.10.12, but I realized it may be because I installed using python3 -m pip install lifxlan
. According to pypi.org, there hasn't been a release since 2021, so perhaps the fix didn't make it into pip yet.
@mclarkk - would it be possible to get an updated release so the pip
method of installation pulls in the latest updates?
Is anyone running a modern version of Python? I stayed in an older version because everything works. Newer Python versions perform better so I would like to upgrade.
On Sat, Oct 12, 2024 at 6:22 PM Connor Shugg @.***> wrote:
Looks like this was fixed in this PR https://github.com/mclarkk/lifxlan/pull/174, as pointed out by this issue https://github.com/mclarkk/lifxlan/issues/173. I ran into this on Python 3.10.12, but I realized it may be because I installed using python3 -m pip install lifxlan. According to pypi.org, there hasn't been a release since 2021 https://pypi.org/project/lifxlan/#history, so perhaps the fix didn't make it into pip yet.
— Reply to this email directly, view it on GitHub https://github.com/mclarkk/lifxlan/issues/188#issuecomment-2408716046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPDGJK7RRNTDWJQXWY5BQLZ3GOI7AVCNFSM6AAAAABPMX6RKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYG4YTMMBUGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@HaberHash yes, I was able to get it working on Python 10. Instead of running python3 -m pip install lifxlan
, clone the repo on your machine, cd
into it, and install it with the setup.py
script:
git clone https://github.com/mclarkk/lifxlan
cd lifxlan
python3 -m pip install ./
This got things working for me, and this bug has not been an issue.
@mclarkk - would it be possible to get an updated release so the
pip
method of installation pulls in the latest updates?
Done! Everyone with pip-installed lifxlan can get the fix now with pip install lifxlan --upgrade
.
works! thanks @mclarkk 🙏
Hi- so happy this library exists, would love to get it working!
somehow i'm caught up at even the simplest sweep for devices on my network (
LifxLAN().get_lights()
)i'm on a mac running 14.3.1 w/ python v 3.12.4 i AM able to ping my devices' IPs from terminal (though 2 show up in my router's device list with 1 final digit different, 1 of them is ping-able)
here are the errors i'm seeing, any help would be rad! cheers