-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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]: ImportError: llama-index-readers-file
package not found
#11336
Comments
🤖 Hey there, @mphipps2! Great to see you back. Hope you're doing well! Based on the error message you provided, it seems like the
To troubleshoot this issue, you can try the following steps:
Please try these steps and let me know if the issue persists. You can refer to the similar solved issue for more details. Sources
|
@mphipps2 This works fine for me locally and on google colab. Try with a fresh venv In a new terminal:
(or equivalent commands for your package manager of choice) |
Hi Logan, thanks for the quick response. Starting the new virtual environment worked for me. Not sure where the conflict was, but either way, all good now and will close the ticket. Thanks again |
Bug Description
I'm calling:
image_documents = SimpleDirectoryReader(doc_dir).load_data()
But I get a ModuleNotFoundError for llama_index.readers.file.base (inside llama_index/core/readers/file/base.py) gets called in the readers directory and the :
def _try_loading_included_file_formats() -> Dict[str, Type[BaseReader]]:
try:
from llama_index.readers.file.base import (
DocxReader,
EpubReader,
HWPReader,
ImageReader,
IPYNBReader,
MarkdownReader,
MboxReader,
PandasCSVReader,
PDFReader,
PptxReader,
VideoAudioReader,
) # pants: no-infer-dep
except ImportError:
raise ImportError("
llama-index-readers-file
package not found")Version
llama-index: 0.10.12, llama-index-readers-file: 0.1.5
Steps to Reproduce
Call image_documents = SimpleDirectoryReader(doc_dir).load_data() using the newest release
Relevant Logs/Tracbacks
The text was updated successfully, but these errors were encountered: