gkamradt / langchain-tutorials

Overview and tutorial of the LangChain Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: issubclass() arg 1 must be a class

ajerni opened this issue · comments

commented

I try to run cookbook 1 and get this error: TypeError: issubclass() arg 1 must be a class

Any idea how to solve this?

commented

solved by this: python -m pip install -U pydantic spacy

I leave it here if somebody else encounters the same error