-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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
LangChain Zep Integration Fails Due to Deprecated Import #27356
Comments
Hello, interested in diving deeper into this issue and I also would like to work on a fix if possible. Have you found any potential solutions as of now @rabbit19981023? EDIT: getting the same error with the following system info: System InformationOS: Linux Package Informationlangchain_core: 0.3.10 Optional packages not installedlanggraph Other Dependenciesaiohttp: 3.10.10 Should also note that any tests and dependencies that use |
@Jacky3003 I think just to update some interface to get working without error, something like But I haven't tried to solve it yet. If you can fix it, that would be a big help |
@rabbit19981023
But it also seems to have its fair share of issues, so either way a fix is needed, just wanted to give an update. |
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Traceback (most recent call last):
File "/home/andrew/my-projects/ai-learning/langchain-zep-test/.venv/lib/python3.12/site-packages/langchain_community/chat_message_histories
/zep.py", line 79, in init
from zep_python import ZepClient
ImportError: cannot import name 'ZepClient' from 'zep_python' (/home/andrew/my-projects/ai-learning/langchain-zep-test/.venv/lib/python3.12/s
ite-packages/zep_python/init.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/andrew/my-projects/ai-learning/langchain-zep-test/.venv/bin/langchain-zep-test", line 5, in
from langchain_zep_test import main
File "/home/andrew/my-projects/ai-learning/langchain-zep-test/src/langchain_zep_test/init.py", line 7, in
memory = ZepMemory(
^^^^^^^^^^
File "/home/andrew/my-projects/ai-learning/langchain-zep-test/.venv/lib/python3.12/site-packages/langchain_community/memory/zep_memory.py",
line 91, in init
chat_message_history = ZepChatMessageHistory(
^^^^^^^^^^^^^^^^^^^^^^
File "/home/andrew/my-projects/ai-learning/langchain-zep-test/.venv/lib/python3.12/site-packages/langchain_community/chat_message_histories
/zep.py", line 81, in init
raise ImportError(
ImportError: Could not import zep-python package. Please install it with
pip install zep-python
.Description
I found the source code uses
ZepClient
, which is deprecated, now Zep providesZep
andAsyncZep
to use.System Info
System Information
Package Information
Optional packages not installed
Other Dependencies
The text was updated successfully, but these errors were encountered: