Find answers from the community

Updated last year

I keep getting a `ModuleNotFoundError:

At a glance

The community member is experiencing a ModuleNotFoundError with the llama_index.readers.base module, which used to work before. Another community member confirms that LlamaIndex went through a major update in version 0.10, and suggests checking the changes in the LlamaIndex blog post. The community members also discuss whether they can still use legacy LlamaIndex code, and one community member provides a link to the legacy code and notes that some import updates may be required.

Useful resources
I keep getting a ModuleNotFoundError: No module named 'llama_index.readers.base' even on code that used to run without issues before, was there an update to the llama-index repo that depreciated that???
W
G
4 comments
Yes, LlamaIndex went on huge update with v0.10.
You'll find changes here: https://blog.llamaindex.ai/llamaindex-v0-10-838e735948f8
didn't know that, thanks for letting me know!
would I still be able to use legacy llama-index code?
Yes it is present here: https://github.com/run-llama/llama_index/tree/main/llama-index-legacy/llama_index/legacy

You'll have to make some import updates for this to work
Add a reply
Sign up and join the conversation on Discord