moses-palmer / pynput

Sends virtual input commands
GNU Lesser General Public License v3.0
1.74k stars 244 forks source link

AttributeError: dlsym(0x3a0604b58, objc_msgSendSuper_stret): symbol not found #553

Closed monkey410 closed 1 year ago

monkey410 commented 1 year ago

Help!!!! My operating system and version:Ventura13.0,M1,

The error message is as follows:

Traceback (most recent call last): File "/Users/jxtech-liu/Desktop/demo/Code/demo.py", line 3, in import pyautogui File "/opt/homebrew/lib/python3.8/site-packages/pyautogui/init.py", line 249, in import mouseinfo File "/opt/homebrew/lib/python3.8/site-packages/mouseinfo/init.py", line 100, in from rubicon.objc import ObjCClass, CGPoint File "/opt/homebrew/lib/python3.8/site-packages/rubicon/objc/init.py", line 33, in from . import api, collections, runtime, types File "/opt/homebrew/lib/python3.8/site-packages/rubicon/objc/api.py", line 28, in from .runtime import ( File "/opt/homebrew/lib/python3.8/site-packages/rubicon/objc/runtime.py", line 460, in libobjc.objc_msgSendSuper_stret.restype = None File "/opt/homebrew/Cellar/python@3.8/3.8.16/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/init.py", line 386, in getattr func = self.getitem(name) File "/opt/homebrew/Cellar/python@3.8/3.8.16/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/init.py", line 391, in getitem func = self._FuncPtr((name_or_ordinal, self)) AttributeError: dlsym(0x3a0604b58, objc_msgSendSuper_stret): symbol not found

monkey410 commented 1 year ago

Refer to similar questions:https://github.com/moses-palmer/pynput/issues/420 Lowering the pyobjc version to 7.3 (or the latest version) will not work

moses-palmer commented 1 year ago

Thank you for your report.

...but I cannot find pynput anywhere in the stack trace provided, and the error appears to be in pyobjc. I will close this issue, but if it actually is related to this library, please reopen.