You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
部署问题ImportError: cannot import name 'AutoRegister' from 'class_registry' (/root/.conda/envs/agent_camp3/lib/python3.10/site-packages/class_registry/__init__.py)
#2277
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: