Find answers from the community

Updated 4 months ago

Hello everyone,

At a glance

The community member encountered an "ImportError: cannot import name 'VectorStoreIndex' from 'llama_index.core'" when using the llama_index library. A community member suggested that if the user upgraded from v0.9.x to v0.10.x, they should remove the llama-index package and then reinstall it, or create a fresh new environment and install the package. No explicit answer is provided in the comments.

Hello everyone,

I encountered the following error: "ImportError: cannot import name 'VectorStoreIndex' from 'llama_index.core'."
same using from llama_index

Is there an update available to resolve this issue?
W
1 comment
Hi,
If you upgraded from v0.9.x to v0.10.x, I would recommend removing llama-index first and then installing it back again.

Or create a fresh new env and isntall llama-index.
Plain Text
pip uninstall llama-index

pip install llama-index --upgrade --no-cache-dir --force-reinstall
Add a reply
Sign up and join the conversation on Discord