Source Code Compilation and Build
Obtain the LlamaIndex source code, build a wheel from the source code, and install the local build product.
- Obtain the LlamaIndex 0.14.19 source code.
1git clone --branch v0.14.19 --depth 1 https://github.com/run-llama/llama_index.git
- 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.
1llama_index-0.14.19-py3-none-any.whl
- Install the local build product.
1python3 -m pip install --force-reinstall dist/llama_index-0.14.19-py3-none-any.whl
Parent topic: Developer Guide