新建conda环境,python==3.11,按04_ReActAgentHITLAp文件夹中readme.md中安装的依赖包,启动后端服务报错,错误如下:
D:\Installers\Aanconda\envs\L1_p4\python.exe D:\MyPython\6-L1_project4-1\04_ReActAgentHITLApi\01_backendServer.py
Traceback (most recent call last):
File "D:\MyPython\6-L1_project4-1\04_ReActAgentHITLApi\01_backendServer.py", line 12, in <module>
from langgraph.prebuilt import create_react_agent
File "D:\Installers\Aanconda\envs\L1_p4\Lib\site-packages\langgraph\prebuilt\__init__.py", line 3, in <module>
from langgraph.prebuilt.chat_agent_executor import create_react_agent
File "D:\Installers\Aanconda\envs\L1_p4\Lib\site-packages\langgraph\prebuilt\chat_agent_executor.py", line 39, in <module>
from langgraph._internal._runnable import RunnableCallable, RunnableLike
ModuleNotFoundError: No module named 'langgraph._internal'