Find answers from the community

Updated 3 months ago

Hi I am getting this error while trying

Hi I am getting this error while trying to import download_loader -
ImportError: cannot import name 'download_loader' from 'llama_index' (unknown location)
how to solve this?
W
P
8 comments
Yes, download_loader and llama_hub have been deprecated from v0.10.x going forward.

All the llama-hub loaders and tools can now be installed as pypi package.
hey can you provide a sample code example of using a webloader?
Sure, let me write it up
First you'll need to install web loader using pip
pip install llama-index-readers-web

Then you can import it like this
from llama_index.readers.web import TrafilaturaWebReader
Make sure you have llama-index v0.10 installed correctly
thanks! working
Add a reply
Sign up and join the conversation on Discord