Git Product home page Git Product logo

Comments (16)

patrafter1999 avatar patrafter1999 commented on July 4, 2024 7

Got the same error.

from autogpt.

aleskalfas avatar aleskalfas commented on July 4, 2024 2

Three steps helped me:

  1. Checkout tag 0.5.1
  2. Setup venv with python version 3.11 not 3.12!
  3. After agent creation I had to comment out command that was removing venv env in the agent setup file AutoGPT/autogpts/MyBestAgent/setup:
#  ENV_PATH=$(poetry env info --path)
#  if [ -d "$ENV_PATH" ]; then
#      rm -rf $ENV_PATH
#      echo "Removed the poetry environment at $ENV_PATH."
#  else
#      echo "No poetry environment found."
#  fi

from autogpt.

aleskalfas avatar aleskalfas commented on July 4, 2024 1

Ahh ok, I was using python 3.10. Didn't realise you had to use 3.12. Will try this again soon

3.11 ☝️

from autogpt.

WangShaoyu1 avatar WangShaoyu1 commented on July 4, 2024 1

Three steps helped me:

  1. Checkout tag 0.5.1
  2. Setup venv with python version 3.11 not 3.12!
  3. After agent creation I had to comment out command that was removing venv env in the agent setup file AutoGPT/autogpts/MyBestAgent/setup:
#  ENV_PATH=$(poetry env info --path)
#  if [ -d "$ENV_PATH" ]; then
#      rm -rf $ENV_PATH
#      echo "Removed the poetry environment at $ENV_PATH."
#  else
#      echo "No poetry environment found."
#  fi

This can work, switch to tag autogpt-v0.5.1. python =3.11.x,it can work.....
why in the master branch ,it cannot work, variety of errors, the offical team can solve it or make a decription for all

from autogpt.

matepaiva avatar matepaiva commented on July 4, 2024

same here

from autogpt.

fbanespo1 avatar fbanespo1 commented on July 4, 2024

After installing agbenchmark same issue
./run agent start tonyagi
⌛ Running setup for agent 'tonyagi'...
Directory /Users/tonyprojects/Auto-GPT/agents/benchmark for agbenchmark does not seem to be a Python package
Removed the poetry environment at /Users/Tony/projects/Auto-GPT/venv.
Directory /Users/Tony/projects/Auto-GPT/agents/benchmark for agbenchmark does not seem to be a Python package

[Errno 2] No such file or directory: 'python'
Setup completed successfully.

⌛ (Re)starting benchmark server...
Directory /Users/Tony/projects/Auto-GPT/agents/benchmark for agbenchmark does not seem to be a Python package

[Errno 2] No such file or directory: 'python'

from autogpt.

thomas-waite avatar thomas-waite commented on July 4, 2024

Same issue

from autogpt.

ethanzu1193 avatar ethanzu1193 commented on July 4, 2024

Same issue

from autogpt.

grant-d avatar grant-d commented on July 4, 2024

I got past this issue by following this advice:
https://stackoverflow.com/a/77915256
Take note of the critical warning about performance though

from autogpt.

crudo0-arch avatar crudo0-arch commented on July 4, 2024

Same issue

I got past this issue by following this advice: https://stackoverflow.com/a/77915256 Take note of the critical warning about performance though

wich one?

from autogpt.

codeananda avatar codeananda commented on July 4, 2024

Also not working for me. Using WSL windows. Quick start guide is useless

from autogpt.

codeananda avatar codeananda commented on July 4, 2024

Ahh ok, I was using python 3.10. Didn't realise you had to use 3.12. Will try this again soon.

Update: typo above, you need to use python 3.11

from autogpt.

microNewLife avatar microNewLife commented on July 4, 2024

Three steps helped me:

  1. Checkout tag 0.5.1
  2. Setup venv with python version 3.11 not 3.12!
  3. After agent creation I had to comment out command that was removing venv env in the agent setup file AutoGPT/autogpts/MyBestAgent/setup:
#  ENV_PATH=$(poetry env info --path)
#  if [ -d "$ENV_PATH" ]; then
#      rm -rf $ENV_PATH
#      echo "Removed the poetry environment at $ENV_PATH."
#  else
#      echo "No poetry environment found."
#  fi

not work for me , so is this a bug only in WSL?

from autogpt.

kcze avatar kcze commented on July 4, 2024

Thanks for bringing up the issue, we're investigating it.
Using poetry shell and then running agents, or switching to python 3.11 (poetry env use python3.11) might help.

from autogpt.

kcze avatar kcze commented on July 4, 2024

I couldn't pinpoint a single problem;

  • Some of those issues might have been fixed recently, so try downloading/cloning the repo again (especially problem with installing multidict when using Python 3.12)
  • Please use Python 3.10 and up
  • benchmark is disabled when running agents for now, so it shouldn't cause problems

from autogpt.

minhanphanle avatar minhanphanle commented on July 4, 2024

Hi guys,

Initially I faced the same problem with the OP and after changing to python3.11 it throws error with the 'click' module even though it's installed. Any help is appreciated!

(base) ➜ AutoGPT git:(master) ✗ ./run agent start test_agent
Requirement already satisfied: click in /opt/homebrew/lib/python3.11/site-packages (8.1.7)
Traceback (most recent call last):
File "/Users/justcuriousan/GitHub/AutoGPT/cli.py", line 8, in
import click
ModuleNotFoundError: No module named 'click'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/justcuriousan/GitHub/AutoGPT/cli.py", line 13, in
import click
ModuleNotFoundError: No module named 'click'

from autogpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.