Skip to content

Pynput does not work with Python 3.13 #50

@laelcox-sedaro

Description

@laelcox-sedaro

The current notebook generates the following error related to the Pynput dependency.

This process is not trusted! Input event monitoring will not be possible until it is added to accessibility clients. Unhandled exception in listener callback Traceback (most recent call last): File "/Users/lc/Documents/dev/modsim-notebooks/venv/lib/python3.13/site-packages/pynput/_util/__init__.py", line 228, in inner return f(self, *args, **kwargs) File "/Users/lc/Documents/dev/modsim-notebooks/venv/lib/python3.13/site-packages/pynput/_util/darwin.py", line 265, in _handler self._handle(proxy, event_type, event, refcon) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: '_thread._ThreadHandle' object is not callable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions