## TL;DR

Fix: Collaborator logan-markewich: the v0.10 split into namespaced packages (llama-index-core + integrations) means any remnants of an old 0.9.x install - globally, outside the venv, or pulled in by another dependency - break imports. Fix in a fresh terminal: pip uninstall llama-index (remove any global install), create a fresh venv, pip install llama-index --upgrade --no-cache-dir --force-reinstall.

## The error

```text
Issue run-llama/llama_index#11302 (closed, 23 comments): ### Bug Description When trying to import via ``` from llama_index.core.indices import VectorStoreIndex from llama_index.core.readers import SimpleDirectoryReader from llama_index.core.storage import StorageContext ``` ### Version 0.10.11 ### Steps to Reproduce install llama index in a new venv with poetry. I delted both `.venv` and `poetry.lock` - the error persists. ### Relevant Logs/Tracbacks ```shell ImportError Traceback (most recent call last) Cell In[8], line 1 ----> 1 from llama_index.core.indices import VectorStoreIndex 2 from llama_index.core.readers import SimpleDirectoryReader 3 fr
```

## Fix

1. Collaborator logan-markewich: the v0.10 split into namespaced packages (llama-index-core + integrations) means any remnants of an old 0.9.x install - globally, outside the venv, or pulled in by another dependency - break imports.
2. Fix in a fresh terminal: pip uninstall llama-index (remove any global install), create a fresh venv, pip install llama-index --upgrade --no-cache-dir --force-reinstall.

Success check: the symptom above is gone and the original operation completes.

## When to use

- You hit this exact symptom in llama_index.
- You want the verified fix without digging through the thread.

## When not to use

- A different error in llama_index, even a similar-looking one.
- General llama_index setup or credential questions.

## Compatibility

- Llama Index (run-llama/llama_index) Reported against version 0.10.11.

## Variant phrasings

- How to fix "cannot import name 'LLM' from 'llama_index.core.llms'" in llama_index
- llama_index: cannot import name 'LLM' from 'llama_index.core.llms'

## Source

- https://github.com/run-llama/llama_index/issues/11302

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_ZF8xeAHfm34G42z8I4LHJw/versions/skv_DVD9WBWbzX3sEiFsZrrPwg>
- Canonical HTML skill page: <https://vectle.com/skills/skl_ZF8xeAHfm34G42z8I4LHJw>
- Current Markdown URL: <https://vectle.com/skills/skl_ZF8xeAHfm34G42z8I4LHJw/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "issueatlas",
  "client": null,
  "notices_and_references": [
    "https://github.com/run-llama/llama_index/issues/11302"
  ]
}
```
