open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

AttributeError: dlsym(0x3c0c283b0, objc_msgSendSuper_stret): symbol not found

Open anegelya opened this issue 1 year ago • 5 comments

Describe the bug

After upgrading Open Interpreter to version 0.2.0 New Computer and trying to run it I got this error:

~ $ interpreter --os
Traceback (most recent call last):
  File "/Users/a.negelya/miniconda/bin/interpreter", line 8, in <module>
    sys.exit(interpreter.start_terminal_interface())
  File "/Users/a.negelya/miniconda/lib/python3.10/site-packages/interpreter/core/core.py", line 25, in start_terminal_interface
    start_terminal_interface(self)
  File "/Users/a.negelya/miniconda/lib/python3.10/site-packages/interpreter/terminal_interface/start_terminal_interface.py", line 463, in start_terminal_interface
    __import__(package)
  File "/Users/a.negelya/miniconda/lib/python3.10/site-packages/pyautogui/__init__.py", line 246, in <module>
    import mouseinfo
  File "/Users/a.negelya/miniconda/lib/python3.10/site-packages/mouseinfo/__init__.py", line 100, in <module>
    from rubicon.objc import ObjCClass, CGPoint
  File "/Users/a.negelya/miniconda/lib/python3.10/site-packages/rubicon/objc/__init__.py", line 33, in <module>
    from . import api, collections, runtime, types
  File "/Users/a.negelya/miniconda/lib/python3.10/site-packages/rubicon/objc/api.py", line 29, in <module>
    from .runtime import (
  File "/Users/a.negelya/miniconda/lib/python3.10/site-packages/rubicon/objc/runtime.py", line 460, in <module>
    libobjc.objc_msgSendSuper_stret.restype = None
  File "/Users/a.negelya/miniconda/lib/python3.10/ctypes/__init__.py", line 387, in __getattr__
    func = self.__getitem__(name)
  File "/Users/a.negelya/miniconda/lib/python3.10/ctypes/__init__.py", line 392, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(0x3c0c283b0, objc_msgSendSuper_stret): symbol not found

Updating and reinstalling rubicon-objc, pyautogui, mouseinfo didn't help.

Reproduce

  1. Open Interpreter to version 0.2.0
  2. Run $ interpreter --os

Expected behavior

Running Open Interpreter in OS mode

Screenshots

No response

Open Interpreter version

0.2.0

Python version

3.10.10

Operating System name and version

macOS Sonoma 14.2.1

Additional context

No response

anegelya avatar Jan 06 '24 08:01 anegelya

Can you run

pip uninstall pyautogui
pip uninstall rubicon-objc
pip uninstall mouseinfo

pip install open-interpreter --force-reinstall
interpreter --os

and see if that fixes it?

Notnaton avatar Jan 06 '24 12:01 Notnaton

@Notnaton got the same error.

Hers is versions of packages installed after --force-reinstall:

Successfully installed mouseinfo-0.1.3 pyautogui-0.9.54 rubicon-objc-0.4.7

anegelya avatar Jan 09 '24 21:01 anegelya

It seems like I have successfully installed it on Python v3.9.13

anegelya avatar Jan 10 '24 13:01 anegelya

Interesting... Might be a compatibility issue with python 3.10.10

Notnaton avatar Jan 11 '24 16:01 Notnaton

It's a pyobjc issue. I switched to python3.8 and re-installed pyobjc from git repo, then the error disappeared. Details here

crossxx-labs avatar Feb 07 '24 04:02 crossxx-labs

Closing this stale issue. If this is still a problem with the latest version of Open Interpreter, please alert me to re-open the issue. Thanks!

MikeBirdTech avatar Mar 19 '24 18:03 MikeBirdTech