Once you have installed one of the above, PyMC can be installed into a new conda environment as follows:
conda create -c conda-forge -n pymc_env "pymc>=5" conda activate pymc_env
If you like, replace the name
pymc_env with whatever environment name you prefer.
The conda-forge tips & tricks page to avoid installation issues when using multiple conda channels (e.g. defaults and conda-forge).
If you wish to enable sampling using the JAX backend via NumPyro, you need to install it manually as it is an optional dependency:
conda install numpyro
Similarly, to use BlackJAX sampler instead:
conda install blackjax
Note that JAX is not directly supported on Windows systems at the moment.
You can also enable sampling with nutpie. Nutpie uses numba as the compiler and a sampler written in Rust for faster performance.
conda install -c conda-forge nutpie
Unlike JAX, nutpie is directly supported on Windows.