gkamradt / langchain-tutorials

Overview and tutorial of the LangChain Library
6.63k stars 1.92k forks source link

TypeError: issubclass() arg 1 must be a class #49

Closed ajerni closed 1 year ago

ajerni commented 1 year ago

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

Any idea how to solve this?

ajerni commented 1 year ago

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

I leave it here if somebody else encounters the same error