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

'computer' module not found #1225

Open
Abdullah-Gohar opened this issue Apr 23, 2024 · 1 comment · May be fixed by #1227
Open

'computer' module not found #1225

Abdullah-Gohar opened this issue Apr 23, 2024 · 1 comment · May be fixed by #1227

Comments

@Abdullah-Gohar
Copy link

Abdullah-Gohar commented Apr 23, 2024

Describe the bug

Any question that needs the interpreter to access the features of the computer module end up giving a
"NameError: name 'computer' is not defined".
This may be due to the codespace in which the interpreter is running the code.

Reproduce

  1. Install latest open-interpreter
  2. Run any code that requires computer module i.e
from interpreter import interpreter

if __name__ == "__main__":
    interpreter.chat("Email John 'Hi'")

Expected behavior

The computer module should be accessible.

Screenshots

Screenshot 2024-04-23 111251

Open Interpreter version

0.2.4

Python version

3.11.7

Operating System name and version

Windows 11

Additional context

No response

@aj47
Copy link
Contributor

aj47 commented Jun 23, 2024

i have this issue running --os i was able to overcome it using os.py profile with interpreter --profile os.py

make sure you have the os.py profile in your profiles directory (interpreter --profiles)

you can find the file here:
https://github.com/OpenInterpreter/open-interpreter/blob/main/interpreter/terminal_interface/profiles/defaults/os.py

#1225 #1276 #1047

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 a pull request may close this issue.

2 participants