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

interpreter.exe fails to start on 0.3.0 #1310

Closed
AncalagonX opened this issue Jun 18, 2024 · 5 comments
Closed

interpreter.exe fails to start on 0.3.0 #1310

AncalagonX opened this issue Jun 18, 2024 · 5 comments

Comments

@AncalagonX
Copy link

AncalagonX commented Jun 18, 2024

CONGRATS on the big 0.3.0 release! Sorry to throw this up at you right away, but I got a show-stopper:

Describe the bug

interpreter.exe fails to start on 0.3.0 after using pip install --upgrade open-interpreter:

TEMPORARY EASY FIX:

  1. Just run this command:
pip install git+https://github.com/OpenInterpreter/open-interpreter.git@main
  1. That's it, you're done! interpreter.exe works now. You can also use this to install commits before they make it into releases.
  2. Oh, looks like @KillianLucas released a bug fix release while I was adding this workaround. You guys rock! Thanks for all your hard work on this stellar piece of software.

Continuing the original bug report below:

PS C:\+++Important\video_transcription01a> interpreter.exe
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\generic_folder\AppData\Roaming\Python\Python311\Scripts\interpreter.exe\__main__.py", line 4, in <module>
  File "C:\Users\generic_folder\AppData\Roaming\Python\Python311\site-packages\interpreter\__init__.py", line 4, in <module>
    interpreter = OpenInterpreter()
                  ^^^^^^^^^^^^^^^^^
  File "C:\Users\generic_folder\AppData\Roaming\Python\Python311\site-packages\interpreter\core\core.py", line 122, in __init__
    self.computer = Computer(self) if computer is None else computer
                    ^^^^^^^^^^^^^^
  File "C:\Users\generic_folder\AppData\Roaming\Python\Python311\site-packages\interpreter\core\computer\computer.py", line 36, in __init__
    self.sms = SMS(self)
               ^^^^^^^^^
  File "C:\Users\generic_folder\AppData\Roaming\Python\Python311\site-packages\interpreter\core\computer\sms\sms.py", line 12, in __init__
    self.database_path = self.resolve_database_path()
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\generic_folder\AppData\Roaming\Python\Python311\site-packages\interpreter\core\computer\sms\sms.py", line 15, in resolve_database_path
    if os.geteuid() == 0:  # Running as root
       ^^^^^^^^^^
AttributeError: module 'os' has no attribute 'geteuid'. Did you mean: 'getpid'?

Reproduce

I am on Windows 10, and the previous interpreter 0.2.6 worked fine.

Expected behavior

It should run.

Screenshots

No response

Open Interpreter version

0.3.0

Python version

3.11.9

Operating System name and version

Windows 10

Additional context

No response

@alfredwallace7
Copy link

Same here on Windows 11 Python 3.11.4

@filip-van-hoeckel
Copy link

+1

2 similar comments
@pooxid
Copy link

pooxid commented Jun 18, 2024

+1

@greenmojo2
Copy link

+1

@AncalagonX
Copy link
Author

Fixed, thanks!

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

5 participants