Skip to content

How to Install Daft#

This guide helps you install Daft based on your specific needs and environment.

For most users, install Daft with a single command:

1
pip install -U daft

Optional Dependencies#

Depending on your use case, you may need to install Daft with additional dependencies.

Use Cases:

Installation Command:

1
pip install -U daft

You can also install Daft with all extra dependencies:

1
pip install -U "daft[all]"

Nightly Builds#

Nightly builds are published daily from the latest main branch. These are useful for testing upcoming features and bug fixes before they are released on PyPI.

1
pip install daft --pre --extra-index-url https://nightly.daft.ai

Stability

Nightly builds may contain unstable or experimental changes. They are not recommended for production use.

Troubleshooting Legacy CPU Support#

If you encounter Illegal instruction errors, your CPU may lack support for advanced instruction sets like AVX. Use the LTS version instead:

1
pip install -U daft-lts

Performance Impact

The LTS version uses limited CPU instructions and cannot leverage vectorized operations, resulting in slower performance. Only use this if the standard package fails to run.