Open N0ury opened 4 years ago
Hi,
I think I have found the problem.
One way to solve the issue is to change line 56 in easyhid.py.
Replace
elif "Darwin" in platform.platform():
with
elif platform.platform().startswith("macOS"):
Forked repo with mentioned fix is here:
https://github.com/bglopez/python-easyhid.git
But it didnt fix it for me. I had to create a symlink
sudo ln -s /opt/homebrew/Cellar/hidapi/0.14.0/lib/libhidapi.dylib /usr/local/lib/libhidapi.dylib
as you can see i installed hidapi by homebrew
brew install hidapi
After an upgrade easyhid stopped working. I have tried to open a bug at hidapi site, but they say it's an easyhid issue.
Here's the problem:
But if I type the following code, it works:
I'm using version: 0.0.10
What can I do ?