-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: ModuleNotFoundError: No module named 'llama_index.readers.schema' #11937
Comments
Hey there, @HelloEveryonehh! Great to see you back. Hope you're doing well and ready to dive into another exciting puzzle together. 😊 Thank you for reporting this issue. The error you're encountering, Based on the information from similar issues in the LlamaIndex repository, it seems that the import paths have changed in the transition from version 0.9.x to 0.10.19 of LlamaIndex. The Here are some steps you can try to resolve the issue:
from llama_index.core import Document This was suggested in a similar issue #11138.
python -m venv venv
source venv/bin/activate
pip install llama-index llama-index-tools-code-interpreter This was suggested in another similar issue #11011.
pip uninstall llama-index # just in case it was installed globally
python -m venv venv
source venv/bin/activate
pip install llama-index This was suggested in the eighth comment with 0 positive and 0 negative reactions. Please try these steps and let us know if the issue persists. If it does, please provide more information about your setup, including how you installed Sources
|
Hey! You have posted your openai key. I would highly suggest you remove it! |
Llamahub is deprecated. All the loaders/tools have been converted into separate pypi packages. You'll need to install tavily with |
Thank you for your answer |
Actually it doesn't matter, but I'm going to correct you, it's spelled wrong |
Bug Description
When I run the code
the mistake
And the same mistake on colab
Version
0.10.19
Steps to Reproduce
Run the code
Relevant Logs/Tracbacks
No response
The text was updated successfully, but these errors were encountered: