Find answers from the community

Updated 4 months ago

After using pip to install llama_index,

At a glance

The community member is experiencing an issue when trying to import download_loader from the llama_index library after installing it using pip. Other community members have provided the following information:

The download_loader function is deprecated, and the llaamhub loaders/packs have been converted into PyPI packages that can be installed using pip. The community members suggest that it is easier to install the loader using pip instead of using the deprecated download_loader function.

One community member also mentions that the download_loader can still be used, but the import should be from llama_index.core import download_loader.

Useful resources
After using pip to install llama_index, I get the following when trying to import download_loader:

In [1]: from llama_index import download_loader --------------------------------------------------------------------------- ImportError Traceback (most recent call last) Cell In[1], line 1 ----> 1 from llama_index import download_loader ImportError: cannot import name 'download_loader' from 'llama_index' (unknown location)
W
L
๏ฟฝ
3 comments
Yeah download_loader is deprecated. All the llaamhub loaders/packs have been converted into pypi package that you can install using pip.

Check this: https://discord.com/channels/1059199217496772688/1073670729054294197/1207845501660168232
You can still use download loader if you want too. But the import is from llama_index.core import download_loader

But it really is easier to pip install the loader
Add a reply
Sign up and join the conversation on Discord