Closed aleform closed 2 years ago
Any news? I have the same problem with Mac OS Monterey (M1 Pro chip)
Me as well, on a macbook pro 2015 Mac OS Monterey. No luck finding a fix yet, but same exact error.
It was working fine yesterday, but I decided to upgrade from 1.7.3 to 1.7.4, and not I get this error Tried downgrading, but the problem doesnt go away.
MacOS Monterey - M1 MacBook pro
I think the problem is that pyobjc (https://github.com/ronaldoussoren/pyobjc) was updated a few days ago. I will write back if I get it to work
Thanks @Pedro-Beirao! The problem is pyojc I downgraded to 7.3 and seems to work
Downgrading pyobjc to 7.3 also worked for me
Thank you for your report.
I can reproduce this on a non-M1 mac, and it seems to be caused by changes to pyobjc. I hade made a small change and pushed the fix to master.
After downgrading pyobjc to 7.3, I get the below error;
File "/Users/xxxxxxxxx/xxxx/xxxxx/lib/python3.8/site-packages/HIServices/init.py", line 11, in
Has anyone else seen this / does any have a solution?
Are there modules with dependencies on PyObjC that also require downgrading?
Thanks, Mark
Please try the updated version of pynput instead; install from the master branch.
Do you know when we might be able to expect the fix included in a PyPi release?
Thanks, Mark
Just to save anyone else the google:
pip install --upgrade pyobjc==7.3
Fixes this
In case anyone still bumps into this, simply upgrading to pynput==1.7.6
does the trick now.
I cannot import the module on my Mac m1 Big Sur. This is the error I get.