Closed luisfavila closed 1 year ago
I think the clue here is the netifaces module, which with Python 3 is now finally available as a package in OpenWRT, removing the need for special hacks. So I think you can just scratch the entirety of the OpenWRT-specific instructions now, and just do this instead:
opkg install python3-light python3-netifaces
This has been working just fine for me for some time now.
Guess the docs should be updated to reflect the same?
Yap, that works flawlessly. Thank you!
Happy to hear this worked for you! However, I wonder if this might be worth reopening until the docs are updated, so others can benefit from the same solution? I know whenever I encounter trouble, I always check the open bug reports first to see if someone else has experienced the same thing, and maybe found a fix or workaround which the author hasn't had a chance to implement yet.
Docs have been updated.
Hi,
I've just tried running on openwrt 22.03.3 which only has python 3.10 available. Without the openwrt-python-encodings supplied, I get:
With them put in the
/usr/lib/python3.10/encodings
directory, it instead errors with:Are you able to provide any pointers?