philips_android_tv icon indicating copy to clipboard operation
philips_android_tv copied to clipboard

It doesn't work with python > 3.9 on macos

Open QuentinWidlocher opened this issue 3 months ago • 0 comments

Idk why, I just know that installing python 3.9 solved it.

Here were my errors for searching purpose.

At first I got

ModuleNotFoundError: No module named 'urllib3'

After installing urllib3 I got

ModuleNotFoundError: No module named 'cgi'

After installing legacy-cgi I got

AttributeError: module 'collections' has no attribute 'MutableMapping'

So if you have the same problem, run this

brew install [email protected]
python3.9 -m pip install -r requirements.txt
python3.9 philips.py --host YOUR_IP pair

I also needed to hit Shift+Enter to validate my pin.

QuentinWidlocher avatar Oct 30 '25 17:10 QuentinWidlocher