2 artifacts
Tap to collapse details
python -m venv llama-env source llama-env/bin/activate # Mac/Linux # or llama-env\Scripts\activate on Windows
pip install llama-index
pip install llama-index-core
pip install llama-index-llms-openai
export OPENAI_API_KEY='your-key-here'
pip list | grep llama
llama-index
❌ Installing deprecated 'llama-index' full package without core
→Use 'pip install llama-index-core' for latest v0.14+ modular installs
❌ Forgetting to activate virtual environment
→Always run 'source llama-env/bin/activate' before pip commands
Tap to expand details
Spin up a personalized “learn LlamaIndex” plan you can save, check off, and return to anytime — unlimited on the free trial.
DataCamp
by Andrei Gheorghiu
Full guides, starters, API reference
Source code, examples, issues
200+ data loaders and integrations
Run local LLMs for LlamaIndex
CLI to scaffold LlamaIndex projects