Rate This Document
Findability
Accuracy
Completeness
Readability

Source Code Compilation and Build

Obtain the LlamaIndex source code, build a wheel from the source code, and install the local build product.

  1. Obtain the LlamaIndex 0.14.19 source code.
    1
    git clone --branch v0.14.19 --depth 1 https://github.com/run-llama/llama_index.git
    
  2. Build the wheel from the source code.
    1
    2
    cd llama_index
    python3 -m build --wheel --outdir dist
    

    The following is an example of the build product.

    1
    llama_index-0.14.19-py3-none-any.whl
    
  3. Install the local build product.
    1
    python3 -m pip install --force-reinstall dist/llama_index-0.14.19-py3-none-any.whl