AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

AutoGPT/Auto-GPT/autogpt/data_ingestion.py", line 4, in <module> from autogpt.config import Config ModuleNotFoundError: No module named 'autogpt'

Open twajothi opened this issue 2 years ago • 5 comments

Duplicates

  • [X] I have searched the existing issues

Steps to reproduce 🕹

running data_ingest.py

Current behavior 😯

AutoGPT/Auto-GPT/autogpt/data_ingestion.py", line 4, in from autogpt.config import Config ModuleNotFoundError: No module named 'autogpt'

Expected behavior 🤔

memory pre seeding

Your prompt 📝

# Paste your prompt here

twajothi avatar Apr 15 '23 18:04 twajothi

Same error here ... PS C:\Users\username\Projects\Auto-GPT>

git pull origin master

merged without conflicts

python autogpt/data_ingestion.py --dir seed_data --init --overlap 200 --max_length 1000

Traceback (most recent call last):
  File "C:\Users\username\Projects\Auto-GPT\autogpt\data_ingestion.py", line 4, in <module>
    from autogpt.config import Config
ModuleNotFoundError: No module named 'autogpt'

Explorergt92 avatar Apr 15 '23 20:04 Explorergt92

move data_ingestion.py from Auto-Gpt/autogpt/data_ingestion.py to Auto-GPT/data_ingestion.py

'python data_ingestion.py --dir . --init --overlap 200 --max_length 1000' to ingest everything in the auto_gpt_workspace

https://github.com/Significant-Gravitas/Auto-GPT/pull/1679

Slowly-Grokking avatar Apr 15 '23 21:04 Slowly-Grokking

Sorry guys but in the latest source code I couldn't find the data-ingestion.py file.

iddelacruz avatar Apr 16 '23 08:04 iddelacruz

Worked perfectly thanks

hermanarenas avatar Apr 16 '23 14:04 hermanarenas

move data_ingestion.py from Auto-Gpt/autogpt/data_ingestion.py to Auto-GPT/data_ingestion.py

python data_ingestion.py --dir . --init --overlap 200 --max_length 1000 to ingest everything in the auto_gpt_workspace folder

#1679

Thanks! Worked for me.

Explorergt92 avatar Apr 16 '23 17:04 Explorergt92

move data_ingestion.py from Auto-Gpt/autogpt/data_ingestion.py to Auto-GPT/data_ingestion.py

'python data_ingestion.py --dir . --init --overlap 200 --max_length 1000' to ingest everything in the auto_gpt_workspace

#1679

thanks you, worked !!!!!

ivan-vilches avatar Apr 20 '23 03:04 ivan-vilches

Should be fixed

ntindle avatar Apr 23 '23 04:04 ntindle