Find answers from the community

Updated last year

Any idea why this happens in llama_index

At a glance

The community members are experiencing an issue with llama_index 0.10.15. One community member suggests installing the llama-index-readers-file package, as the loaders and tools have been converted into separate PyPI packages. Another community member has installed various llama-index related packages, but the issue persists. They have checked the Python kernel and it seems to be the correct one. A community member mentions that the issue has been discussed in a GitHub issue, and the last post there suggests removing and reinstalling the package to fix the issue. Other community members suggest that the issue could be due to the package not being properly updated to version 0.10, and recommend creating a new environment and installing llama-index from scratch.

Useful resources
Any idea why this happens in llama_index 0.10.15 ?
Attachment
image.png
W
b
7 comments
You'll have to install pip install llama-index-readers-file
All the loaders and tools have been converted into pypi packages. All of them require separate installation.
I did a pip list and I see:

Plain Text
llama_cpp_python                         0.2.28
llama-hub                                0.0.71
llama-index                              0.10.15
llama-index-agent-openai                 0.1.5
llama-index-cli                          0.1.7
llama-index-core                         0.10.15
llama-index-embeddings-openai            0.1.6
llama-index-indices-managed-llama-cloud  0.1.3
llama-index-legacy                       0.9.48
llama-index-llms-openai                  0.1.7
llama-index-llms-openai-like             0.1.3
llama-index-multi-modal-llms-openai      0.1.4
llama-index-program-openai               0.1.4
llama-index-question-gen-openai          0.1.3
llama-index-readers-file                 0.1.6
llama-index-readers-llama-parse          0.1.3
llama-index-vector-stores-chroma         0.1.5
llama-index-vector-stores-postgres       0.1.2
llama-parse                              0.3.5
llamaindex-py-client                     0.1.13


It seems I already have the package, but the error is still here. I've checked the python kernel used by jupyter, it's the correct one from my anaconda environment
also, from the same notebook, this works
Plain Text
from llama_index.readers.file import *
last post here with removing and reinstalling fixed it
It could be that llamaindex was not properly updated to v0.10

If you are using kernel, create a new env and install llamaindex
If you are upgrading then there is a chance something gets borked
Add a reply
Sign up and join the conversation on Discord