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' (/opt/conda/envs/mindsearch/lib/python3.10/site-packages/class_registry/__init__.py)
#202
Closed
codefd opened this issue
Sep 10, 2024
· 4 comments
/workspaces/mindsearch/MindSearch (b832275) $ python -m mindsearch.app --lang cn --model_format internlm_silicon --search_engine DuckDuckGoSearch
Traceback (most recent call last):
File "/opt/conda/envs/mindsearch/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/envs/mindsearch/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/workspaces/mindsearch/MindSearch/mindsearch/app.py", line 11, in
from lagent.schema import AgentStatusCode
File "/opt/conda/envs/mindsearch/lib/python3.10/site-packages/lagent/init.py", line 2, in
from .actions import * # noqa: F401, F403
File "/opt/conda/envs/mindsearch/lib/python3.10/site-packages/lagent/actions/init.py", line 3, in
from .action_executor import ActionExecutor
File "/opt/conda/envs/mindsearch/lib/python3.10/site-packages/lagent/actions/action_executor.py", line 4, in
from .base_action import BaseAction
File "/opt/conda/envs/mindsearch/lib/python3.10/site-packages/lagent/actions/base_action.py", line 14, in
from class_registry import AutoRegister, ClassRegistry
ImportError: cannot import name 'AutoRegister' from 'class_registry' (/opt/conda/envs/mindsearch/lib/python3.10/site-packages/class_registry/init.py)
The text was updated successfully, but these errors were encountered:
/workspaces/mindsearch/MindSearch (b832275) $ python -m mindsearch.app --lang cn --model_format internlm_silicon --search_engine DuckDuckGoSearch
Traceback (most recent call last):
File "/opt/conda/envs/mindsearch/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/envs/mindsearch/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/workspaces/mindsearch/MindSearch/mindsearch/app.py", line 11, in
from lagent.schema import AgentStatusCode
File "/opt/conda/envs/mindsearch/lib/python3.10/site-packages/lagent/init.py", line 2, in
from .actions import * # noqa: F401, F403
File "/opt/conda/envs/mindsearch/lib/python3.10/site-packages/lagent/actions/init.py", line 3, in
from .action_executor import ActionExecutor
File "/opt/conda/envs/mindsearch/lib/python3.10/site-packages/lagent/actions/action_executor.py", line 4, in
from .base_action import BaseAction
File "/opt/conda/envs/mindsearch/lib/python3.10/site-packages/lagent/actions/base_action.py", line 14, in
from class_registry import AutoRegister, ClassRegistry
ImportError: cannot import name 'AutoRegister' from 'class_registry' (/opt/conda/envs/mindsearch/lib/python3.10/site-packages/class_registry/init.py)
The text was updated successfully, but these errors were encountered: