kaqijiang / Auto-GPT-ZH

Auto-GPT中文版本及爱好者组织 同步更新原项目 AI领域创业 自媒体组织 用AI工作学习创作变现

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModuleNotFoundError: No module named 'distro'

baowenxiang opened this issue · comments

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

GPT-3 or GPT-4

  • I am using Auto-GPT with GPT-3 (GPT-3.5)

Steps to reproduce 🕹

Traceback (most recent call last):
File "/nix/store/fdqpyj613dr0v1l1lrzqhzay7sk4xg87-python3-3.10.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/nix/store/fdqpyj613dr0v1l1lrzqhzay7sk4xg87-python3-3.10.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/workspace/Auto-GPT-ZH/autogpt/main.py", line 8, in
autogpt.cli.main()
File "/nix/store/c424f8r8i3n7zyd11vzg59yw0d5xf0vn-python3.10-click-8.1.3/lib/python3.10/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/nix/store/c424f8r8i3n7zyd11vzg59yw0d5xf0vn-python3.10-click-8.1.3/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/nix/store/c424f8r8i3n7zyd11vzg59yw0d5xf0vn-python3.10-click-8.1.3/lib/python3.10/site-packages/click/core.py", line 1635, in invoke
rv = super().invoke(ctx)
File "/nix/store/c424f8r8i3n7zyd11vzg59yw0d5xf0vn-python3.10-click-8.1.3/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/nix/store/c424f8r8i3n7zyd11vzg59yw0d5xf0vn-python3.10-click-8.1.3/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/nix/store/c424f8r8i3n7zyd11vzg59yw0d5xf0vn-python3.10-click-8.1.3/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/workspace/Auto-GPT-ZH/autogpt/cli.py", line 86, in main
from autogpt.main import run_auto_gpt
File "/workspace/Auto-GPT-ZH/autogpt/main.py", line 8, in
from autogpt.agent.agent import Agent
File "/workspace/Auto-GPT-ZH/autogpt/agent/init.py", line 1, in
from autogpt.agent.agent import Agent
File "/workspace/Auto-GPT-ZH/autogpt/agent/agent.py", line 3, in
from autogpt.app import execute_command, get_command
File "/workspace/Auto-GPT-ZH/autogpt/app.py", line 5, in
from autogpt.agent.agent_manager import AgentManager
File "/workspace/Auto-GPT-ZH/autogpt/agent/agent_manager.py", line 6, in
from autogpt.config.config import Config
File "/workspace/Auto-GPT-ZH/autogpt/config/init.py", line 4, in
from autogpt.config.ai_config import AIConfig
File "/workspace/Auto-GPT-ZH/autogpt/config/ai_config.py", line 12, in
import distro
ModuleNotFoundError: No module named 'distro'

Current behavior 😯

Snipaste_2023-05-05_15-15-47

Expected behavior 🤔

能够帮我解决一下启动报错的问题

Your prompt 📝

# Paste your prompt here