-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Installation Guide (Linux)
We recommend using Anaconda (or Miniforge) to install Python on MacOS, which allows for packages to be installed using its conda
utility.
conda create -c conda-forge -n pymc_env python pymc
conda activate pymc_env
If you like, replace the name pymc_env
with whatever environment name you prefer.
If you wish to enable sampling using the JAX backend via NumPyro (experimental), the following should also be installed:
pip install jax jaxlib numpyro
Similarly, to use BlackJAX for sampling it should be installed via pip
:
pip install blackjax
The latest release of PyMC3 can be installed from Conda Forge (conda-forge):
conda install -c conda-forge pymc3 theano-pymc mkl mkl-service
Note that you must specifically request theano-pymc
or you will get an obsolete version of PyMC3 that works with the now-abandoned theano
library. We encourage you to test this with the --dry-run
flag to ensure you get up-to-date versions.
While discouraged due to reports of installation problems you could try to install PyMC3 and its dependencies via PyPI using pip
:
pip install pymc3