Skip to content

'computer' module not found #1225

Open
@Abdullah-Gohar

Description

@Abdullah-Gohar

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

Activity

aj47

aj47 commented on Jun 23, 2024

@aj47
Contributor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @aj47@Abdullah-Gohar

      Issue actions

        'computer' module not found · Issue #1225 · OpenInterpreter/open-interpreter