Installing PyTensor#

The latest release of PyTensor can be installed from Pypi using pip:

pip install pytensor

Or via conda-forge:

conda install -c conda-forge pytensor

The current development branch of PyTensor can be installed from GitHub using pip:

pip install git+https://github.com/pymc-devs/pytensor

To use the Numba and JAX backend you will need to install these libraries in addition to PyTensor. Please refer to Numba’s installation instructions and JAX’s installation instructions respectively.

Created: Oct 23, 2025 | Last updated: Oct 23, 2025