-
[Bug]: cannot import name ‘RootModel’ from ‘pydantic’ #1237
-
版本不匹配导致
ImportError: cannot import name ‘BaseModel’ from ‘pydantic’
/home/zhangbin/miniconda3/envs/Easy-RAG/bin/python /home/zhangbin/proj/06_rag/02_Easy-RAG/webui.py
/home/zhangbin/miniconda3/envs/Easy-RAG/lib/python3.10/site-packages/gradio/components/annotated_image.py:8: UserWarning: The NumPy module was reloaded (imported a second time). This can in some cases result in small but subtle issues and is discouraged.import numpy as