AutoGPT
AutoGPT copied to clipboard
Error When Trying to Run for First time
pymilvus not installed. Skipping import. Warning: The file 'auto-gpt.json' does not exist.Local memory would not be saved to a file.
ive done a search in issues but cant seem to find answer any idea?
thanks!
pymilvus not installed. Skipping import. Warning: The file 'auto-gpt.json' does not exist.Local memory would not be saved to a file.
ive done a search in issues but cant seem to find answer any idea?
thanks!
You can manually create a file auto-gpt.json, open it with notepad, put '{}' in it, and run again. Will fix the local memory issue.
Also be sure to be in the stable
branch
the json file fixed the Warning error, but this error is still there:
pymilvus not installed. Skipping import.
am i inputting the open ai api incorrectly? im just copying and pasting into the .env file in right spot i think.
Just a simple {}
should suffice
yes this has fixed the error. thanks
Where exactly do you need to put the json file?
Inside the auto-gpt folder (the main folder)
Error when running for the first time v0.2.0
, missing some requirements module.
> python -m autogpt
pymilvus not installed. Skipping import.
Warning: The file 'auto-gpt.json' does not exist.Local memory would not be saved to a file.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "...\Auto-GPT\autogpt\__main__.py", line 4, in <module>
from autogpt.agent.agent import Agent
File "...\Auto-GPT\autogpt\agent\__init__.py", line 1, in <module>
from autogpt.agent.agent import Agent
File "...\Auto-GPT\autogpt\agent\agent.py", line 2, in <module>
from autogpt.app import execute_command, get_command
File "...\Auto-GPT\autogpt\app.py", line 27, in <module>
from autogpt.commands.twitter import send_tweet
File "...\Auto-GPT\autogpt\commands\twitter.py", line 1, in <module>
import tweepy
ModuleNotFoundError: No module named 'tweepy'
Fix
- Create a
auto-gpt.json
file in the main Auto-GPT folder and add{}
to the file. - Install the missing module.
-
pip install pymilvus
-
pip install tweepy
- Run
python -m autogpt
again.
Closing as duplicate of #1073