I copied the ChemCrow space, but got an error

#2
by king007 - opened

ModuleNotFoundError: No module named 'langchain_core.schema'
Traceback:
File "/home/user/.local/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.dict)
File "/home/user/app/app.py", line 13, in
from chemcrow.agents import ChemCrow, make_tools
File "/home/user/.local/lib/python3.8/site-packages/chemcrow/init.py", line 4, in
from .frontend import *
File "/home/user/.local/lib/python3.8/site-packages/chemcrow/frontend/init.py", line 1, in
from .streamlit_callback_handler import StreamlitCallbackHandlerChem
File "/home/user/.local/lib/python3.8/site-packages/chemcrow/frontend/streamlit_callback_handler.py", line 11, in
from langchain_core.schema import AgentAction, AgentFinish, LLMResult

Solved now, thank you for raising the issue!

doncamilom changed discussion status to closed

Sign up or log in to comment