Open
Description
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
- Install latest open-interpreter
- 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
Open Interpreter version
0.2.4
Python version
3.11.7
Operating System name and version
Windows 11
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels
Activity
aj47 commentedon Jun 23, 2024
i have this issue running
--os
i was able to overcome it using os.py profile withinterpreter --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