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

Added conditional support for Windows, computer not found error #1227

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Abdullah-Gohar
Copy link

@Abdullah-Gohar Abdullah-Gohar commented Apr 23, 2024

Changed one of the conditional statements to account for the import of computer module.

Fixes #1225

Pre-Submission Checklist (optional but appreciated):

  • I have included relevant documentation updates (stored in /docs)
  • I have read docs/CONTRIBUTING.md
  • I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • Tested on Windows
  • Tested on MacOS
  • Tested on Linux

@KillianLucas
Copy link
Collaborator

Hi @Abdullah-Gohar! Thanks for this PR, I think we might want to solve this issue in another way though. Some folks might want to run a lightweight Open Interpreter in Python without the computer API (I think we should remove reference to it in the system message for this reason, so it won't try to use it unless it has access to it).

We could make it simply print instructions for importing the computer API (initializing interpreter with interpreter = OpenInterpreter(import_computer_api=True)) if "computer" is spotted in the code, and import_computer_api is False. Do you think those solutions would work?

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

Successfully merging this pull request may close these issues.

'computer' module not found
2 participants