Just installed llama index and was trying to run the most basic program but getting an import error.
Here is how I installed it:
“`
pip llama-index
<code>```
</code>
<code>```
</code>
```
Here is my full source:
<code>```
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
docs = SimpleDirectoryReader("data").load_data()
```
</code>
<code>```
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
docs = SimpleDirectoryReader("data").load_data()
```
</code>
```
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
docs = SimpleDirectoryReader("data").load_data()
```
I also tried installing
<code> ```
pip llama-index-core
```
I tried reinstalling llama-index still get this error about a class I am not directly importing.
</code>
<code> ```
pip llama-index-core
```
I tried reinstalling llama-index still get this error about a class I am not directly importing.
</code>
```
pip llama-index-core
```
I tried reinstalling llama-index still get this error about a class I am not directly importing.
New contributor
Draco is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.