InternLM / InternLM/Tutorial

部署问题ImportError: cannot import name 'AutoRegister' from 'class_registry' (/root/.conda/envs/agent_camp3/lib/python3.10/site-packages/class_registry/__init__.py)

未关闭
#2,277 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
2k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

ImportError: cannot import name 'AutoRegister' from 'class_registry' (/root/.conda/envs/agent_camp3/lib/python3.10/site-packages/class_registry/__init__.py)
Traceback:
File "/root/.conda/envs/agent_camp3/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "/root/.conda/envs/agent_camp3/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.__dict__)
File "/root/agent_camp3/lagent/examples/internlm2_agent_web_demo.py", line 8, in
from lagent.actions import ActionExecutor, ArxivSearch, IPythonInterpreter
File "/root/agent_camp3/lagent/lagent/__init__.py", line 2, in
from .actions import * # noqa: F401, F403
File "/root/agent_camp3/lagent/lagent/actions/__init__.py", line 3, in
from .action_executor import ActionExecutor
File "/root/agent_camp3/lagent/lagent/actions/action_executor.py", line 4, in
from .base_action import BaseAction
File "/root/agent_camp3/lagent/lagent/actions/base_action.py", line 14, in
from class_registry import AutoRegister, ClassRegistry

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。