Find answers from the community

Updated 3 months ago

Hi all,

Hi all,
For anyone else encountering an issue with imports (For me, it was importing Document object, even in a venv + python interpreter + new llama_index version), I found the following to resolve my issue after a while

pip3 uninstall llama-index
pip3 install llama-index --upgrade --no-cache-dir --force-reinstall
L
L
3 comments
Yes, a very clean env seems to be needed πŸ™
BTW, I was migrating some files and while the automatic migration tool seemed to do a decent amount of progress, migrating file-by-file wasn't able to convert:

  • BaseReader
  • Document
  • StorageContext
  • SimpleIndexStore, SimpleDocumentStore, SimpleGraphStore, and SimpleVectorStore
  • LangchainEmbeddings
  • VectorIndexRetriever
Not a huge deal or anything, but thought I would let the team know :)
Thanks! There is a static json of mappings in the codebase that the upgrade tool uses (that I autogenerated). I'll add these to the list!
Add a reply
Sign up and join the conversation on Discord