Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 2 months ago
0
Follow
Hello first time in Discord
Hello first time in Discord
Inactive
0
Follow
t
thunderstorm
last year
ยท
Hello, first time in Discord!
I am running my first app using llama-index to chat with my PDF. All my dependencies are up to date however I am getting this error:
ImportError: cannot import name 'BaseCache' from 'langchain' (/venv/lib/python3.11/site-packages/langchain/
init
.py)
I shortened the path, but I am inside a venv.
Has anyone had this issue and know the solution?
Thanks,
L
t
3 comments
Share
Open in Discord
L
Logan M
last year
I think you either need to downgrade or upgrade your langchain version? I haven't actually run into this yet
t
thunderstorm
last year
Thanks! I ran python3 -m pip install --upgrade llama-index and it added some other dependencies and worked. I had just installed llama index so I never thought to perform an upgrade at the same time.
L
Logan M
last year
Interesting, good to know!
Add a reply
Sign up and join the conversation on Discord
Join on Discord