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
InvalidKeyException found installing library for deployment. #21111
Comments
Could you share the output of: python -m langchain_core.sys_info |
We're re-releasing |
ran into likely the same pr similar issue: System Information
Package Information
Packages not installed (Not Necessarily a Problem)The following packages were not found:
Traceback (most recent call last): |
I am also running into this issue: Just downgraded my langchain_core to 0.1.46 from a few days ago and it seems to work again.
|
Could you try with the following versions of community and core? langchain-community==0.0.36 |
i had same error during open-webui installation ) @eyurtsev , by adding: it fixed the problem. |
Marking as resolved |
Checked other resources
Example Code
from langchain.storage import LocalFileStore
Error Message and Stack Trace (if applicable)
from langchain.storage import LocalFileStore
/usr/local/lib/python3.11/site-packages/langchain/storage/init.py:15: in
from langchain.storage.file_system import LocalFileStore
/usr/local/lib/python3.11/site-packages/langchain/storage/file_system.py:8: in
from langchain.storage.exceptions import InvalidKeyException
/usr/local/lib/python3.11/site-packages/langchain/storage/exceptions.py:1: in
from langchain_community.storage.exceptions import InvalidKeyException
/usr/local/lib/python3.11/site-packages/langchain_community/storage/exceptions.py:1: in
from langchain_core.stores import InvalidKeyException
E ImportError: cannot import name 'InvalidKeyException' from 'langchain_core.stores'
Description
I had 0.1.16 version of langchain installed and this morning pulled up fresh docker to re-install my environment, found out a back compatibility issue.
Langchain depends on langchain_community, which a few days ago was using 0.0.34, now that it updated to 0.0.35. langchain's import of LocalFileStore would fail.
System Info
OS: Linux
Python: 3.11
Langchain: 0.1.16
The text was updated successfully, but these errors were encountered: