When Running Section 2.03 the current setup has errors creating documents. First I found that you are trying to load ./data not ../data, creating a directory not found error.
This uncovered a different error, that llama-index==0.10.37 needs llama-index-readers-file>=0.1.24 or it gets an import error.
Describe your environment
This was setup in codespaces using your setup script.
Steps to Reproduce
Follow section 1 for setting up codespace
Try to run section 2 part 3. Get error: ValueError: Directory ./data does not exist.
ImportError: cannot import name 'PandasExcelReader' from 'llama_index.readers.file' (/opt/conda/envs/lil_llama_index/lib/python3.10/site-packages/llama_index/readers/file/init.py)
During handling of the above exception, another exception occurred:
ImportError: llama-index-readers-file package not found
## Possible Solution
<!-- Optional: Do you have a fix or a suggestion on how to fix the issue? -->
Fixing the `./data`, and doing a `pip install --upgrade llama-index-readers-file==0.1.25` + restart of the kernel fixes the issues
Issue Overview
When Running Section 2.03 the current setup has errors creating documents. First I found that you are trying to load
./data
not../data
, creating a directory not found error.This uncovered a different error, that
llama-index==0.10.37
needsllama-index-readers-file>=0.1.24
or it gets an import error.Describe your environment
This was setup in codespaces using your setup script.
Steps to Reproduce
ValueError: Directory ./data does not exist.
ImportError: cannot import name 'PandasExcelReader' from 'llama_index.readers.file' (/opt/conda/envs/lil_llama_index/lib/python3.10/site-packages/llama_index/readers/file/init.py)
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last) ... 89 ".xlsx": PandasExcelReader, 90 } 91 return default_file_reader_cls
ImportError:
llama-index-readers-file
package not found