A community member is running a tutorial from the llama-index-readers-smart-pdf-loader package but is encountering an error related to the llama_index.readers.base module not being found. The community members discuss potential solutions, such as installing llama-index or llama-index-core, using a fresh virtual environment, and importing the SmartPDFLoader from the correct location. The community members determine that installing llama-index should be sufficient and that the issue with llama_hub has been resolved in the latest version of the library. They also note that the documentation for the llama-index-readers-smart-pdf-loader package should be updated to reflect these changes.
Hey everyone, I'm running this tutorial: https://pypi.org/project/llama-index-readers-smart-pdf-loader/ However, I'm getting this error: from llama_index.readers.base import BaseReader
ModuleNotFoundError: No module named 'llama_index.readers.base'
Is that a bug in the packages? I would assume that pip install llama-index-readers-smart-pdf-loader will also install the base packages.
@WhiteFang_Jr you could start with a fresh python virtual environment. After installing llama-index, llama_hub and the smart pdf loader, you'll get this error