AutoGPT
AutoGPT copied to clipboard
execute_python_file no such file or directory
Duplicates
- [X] I have searched the existing issues
Steps to reproduce 🕹
Set a goal that ends up writing a python file to take some action
wait for auto-gpt to try that action
Current behavior 😯
Getting the error
Executing file 'data_analysis.py' in workspace 'auto_gpt_workspace' SYSTEM: Command execute_python_file returned: Error: File 'data_analysis.py' does not exist.
Expected behavior 🤔
The python script executes
Your prompt 📝
# Create a list of every museum in the UK
does a file by that name exist in auto_gpt_workspace subfolder?
It does not, which was what confuses me. And yes it's writeable, bc it has written other files in there for other Goals, I triple checked that
+1 Does need to create a Python file in hand by autogpt's ACTION?
getting the same issue.
Any solution for this, I also see the autogpt workspace folder is empty and error SYSTEM: Command execute_python_file returned: Error: File expected-python-file.py missing
Fixed