Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Hi I am getting this error while trying
Hi I am getting this error while trying
Inactive
0
Follow
P
Pujari12
10 months ago
Β·
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
Share
Open in Discord
W
WhiteFang_Jr
10 months ago
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.
W
WhiteFang_Jr
10 months ago
Migration Guide
https://pretty-sodium-5e0.notion.site/v0-10-0-Migration-Guide-6ede431dcb8841b09ea171e7f133bd77
Package registry
https://pretty-sodium-5e0.notion.site/ce81b247649a44e4b6b35dfb24af28a6?v=53b3c2ced7bb4c9996b81b83c9f01139
P
Pujari12
10 months ago
Thanks
P
Pujari12
10 months ago
hey can you provide a sample code example of using a webloader?
W
WhiteFang_Jr
10 months ago
Sure, let me write it up
W
WhiteFang_Jr
10 months ago
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
W
WhiteFang_Jr
10 months ago
Make sure you have llama-index v0.10 installed correctly
P
Pujari12
10 months ago
thanks! working
Add a reply
Sign up and join the conversation on Discord
Join on Discord