-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS deployment requires administrator rights #54
Comments
Could try replacing it with |
Using |
According to the documentations, This is a valid alternative, however, it would be much better to avoid it altogether. |
After removing the keyboard listeners and events, I got a new error which is solely fixed in 909e264. After that, I reach the same issue as for Windows. Hence, keyboard events definitely require handling. An idea I had was to build a very simple GUI for the software and save it as an application. That way in the macOS security settings one could whitelist the program to allow keyboard events. |
Added disclaimer regarding this to the REAME, see dd884ed |
Quite annoyingly, the
keyboard
library requiressudo
rights in order to be used on macOS.If this is not done, you will get this error message.
The alternatively is to run the script like so:
sudo python deploy.py
Even still, now with sudo the program might fail to find the dependencies (observed on macOS).
Nonetheless, this is bad practice. We should not need sudo permissions to deploy the software. We need to find a way to enable keyboard events on macOS (all UNIX-based systems likely have the same issue, e.g., Ubuntu).
The text was updated successfully, but these errors were encountered: