AutoGPT: Not working

Duplicates

  • I have searched the existing issues

Steps to reproduce 🕹

When i try python -m autogpt (i done all the steps) the cmd send me this:

Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "D:\Users\censured\Desktop\AUTO-GPT\Auto-GPT\autogpt\__main__.py", line 12, in <module> from autogpt import commands as cmd File "D:\Users\censured\Desktop\AUTO-GPT\Auto-GPT\autogpt\commands.py", line 7, in <module> from autogpt.web import browse_website File "D:\Users\censured\Desktop\AUTO-GPT\Auto-GPT\autogpt\web.py", line 2, in <module> from selenium import webdriver ModuleNotFoundError: No module named 'selenium'

Current behavior 😯

It should work, but it doesn’t

Expected behavior 🤔

It should start the program

Your prompt 📝

# Paste your prompt here

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 23 (6 by maintainers)

Most upvoted comments

running pip install with python -m seems to have done the trick in my case python -m pip install -r requirements.txt

I’m on an Intel Mac Pro running Monterey.

python -m pip install -r requirements.txt worked for me.

running pip install with python -m seems to have done the trick in my case python -m pip install -r requirements.txt

The problem, that i just see, is that the python can’t download the Wheel for grpcio, is the only problem

This worked for me… python3 -m pip install -r requirements.txt

from mabry1985 :

running pip install with python -m seems to have done the trick in my case python -m pip install -r requirements.txt

Thanks a lot! I had a similar issue but it was for ‘no module named openai’, even though I had it installed.

PS: I tried this command “pip install --force-reinstall -r requirements.txt” from @sudouser777 before I tried the one by mabry1985 in case that helps anyone.

run pip install -r requirements.txt again and it should work

i am also getting similar errors : Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/darkshadow/Auto-GPT/autogpt/__main__.py", line 3, in <module> from autogpt.agent.agent import Agent File "/home/darkshadow/Auto-GPT/autogpt/agent/__init__.py", line 1, in <module> from autogpt.agent.agent import Agent File "/home/darkshadow/Auto-GPT/autogpt/agent/agent.py", line 2, in <module> from autogpt.app import execute_command, get_command File "/home/darkshadow/Auto-GPT/autogpt/app.py", line 22, in <module> from autogpt.processing.text import summarize_text File "/home/darkshadow/Auto-GPT/autogpt/processing/text.py", line 3, in <module> from selenium.webdriver.remote.webdriver import WebDriver ModuleNotFoundError: No module named 'selenium'