Installation¶
Using pip (Recommended)¶
The easiest way to install Bayesian Filters is using pip:
Using uv¶
If you use uv for Python package management:
Using Anaconda¶
If you use Anaconda, you can install from the conda-forge channel:
# Add conda-forge channel if you haven't already
conda config --add channels conda-forge
# Install the package
conda install filterpy
Note: The conda package is still named filterpy for backward compatibility.
From Source¶
To install the latest development version from GitHub:
Or clone and install locally:
Requirements¶
- Python >= 3.6
- NumPy
- SciPy
- Matplotlib
These dependencies will be installed automatically when you install the package.
Verifying Installation¶
To verify the installation, try importing the library:
import bayesian_filters
from bayesian_filters.kalman import KalmanFilter
print(f"Bayesian Filters version: {bayesian_filters.__version__}")
If this runs without errors, you're ready to go!
Next Steps¶
Continue to the Quick Start guide to learn how to use the library.