Skip to content
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

Not working #1

Open
VyacheslavMitin opened this issue Dec 10, 2021 · 0 comments
Open

Not working #1

VyacheslavMitin opened this issue Dec 10, 2021 · 0 comments

Comments

@VyacheslavMitin
Copy link

macSwitchInputLanguage("com.apple.inputmethod.Kotoeri.Japanese")

/Users/sonic/PycharmProjects/ROI_TeamViewer_autostart/venv/bin/python "/Users/sonic/Library/Application Support/JetBrains/PyCharmCE2021.3/scratches/scratch_4.py"
Traceback (most recent call last):
File "/Users/sonic/Library/Application Support/JetBrains/PyCharmCE2021.3/scratches/scratch_4.py", line 83, in
macSwitchInputLanguage("com.apple.inputmethod.Kotoeri.Japanese")
File "/Users/sonic/Library/Application Support/JetBrains/PyCharmCE2021.3/scratches/scratch_4.py", line 50, in macSwitchInputLanguage
_objc.PyObjCObject_New.restype = ctypes.py_object
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ctypes/init.py", line 387, in getattr
func = self.getitem(name)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ctypes/init.py", line 392, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(0x21e4d48a0, PyObjCObject_New): symbol not found

Process finished with exit code 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant