-
Notifications
You must be signed in to change notification settings - Fork 1.4k
cannot import name 'AsyncCallbackManager' from 'langchain.callbacks.base' (/Users/friahi/Library/Python/3.9/lib/python/site-packages/langchain/callbacks/base.py) #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
could u tell me which version I need? |
I don't know either, it has to go through langchain and see which version had that AsyncCallbackManager or update the code to the newest version of langchain |
'AsyncCallbackManager' can be imported from 'langchain.callbacks.manager' now instead. At least worked for me. |
I'm getting this error, is there any further solution? |
I managed to run the project (langchain==0.0.154) with the following changes:
|
@HKAB did you use solutions for |
Yes, I edited my answer. |
hi , i follow your second step and modify the source code ,but it does not work ,i still get the error'ERROR:root:maximum recursion depth exceeded', so what i can do more? i modify another (deepcopy->copy), it works now ,thx u. |
Resolved after updating to langchain==0.0.156. |
Still have this problem with langchain=0.0.188 |
I opened a PR to solve this issue #91 |
langchain==0.0.150 solved the problem |
the versions in the requirement files were not locked, so the AsyncCallbackManager no longer exists in the langchain/callbacks/base.py.
The text was updated successfully, but these errors were encountered: