ImportError: cannot import name 'CallbackManager' from 'langchain.callbacks'
Sassun opened this issue · comments
SAS commented
I followed the installation steps and now I am trying to run this example:
gptdeploy % gptdeploy generate \ --description "The user writes something and gets a related deep compliment." \ --test "Given the word test a deep compliment is generated" \ --model gpt-4 \ --path microservice
However, I get this error see below:
Florian Hönicke commented
hi, this problem exists because we no longer support python 3.7
Florian Hönicke commented
Oh wait a second, you are using 3.10. I have to look into it
can you upgrade langchain?
SAS commented
Upgraded langchain, now it works. Thanks!