-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Installation Guide (Windows)
Chris Fonnesbeck edited this page Oct 27, 2021
·
49 revisions
Installing PyMC v3 under Windows is a two-step process, with conda
being used to set up an environment and then pip
to install PyMC itself. Using conda
allows Theano-PyMC to easily access MKL.
It is usually a good idea to install into a fresh conda environment, which we will call pymc_env
:
conda create -n pymc_env -c conda-forge python libpython mkl-service m2w64-toolchain numba python-graphviz scipy
Next, PyMC can be installed into the environment we have created:
conda activate pymc_env
pip install pymc3
If you are updating a previous version of PyMC, you may need to remove Theano and install Theano-PyMC before updating:
conda remove theano
conda install -c conda-forge theano-pymc
Until a release version of PyMC v4 is available, it must be installed directly from the repository itself:
git clone https://github.com/pymc-devs/pymc/
cd pymc
conda env create -f .\conda\windows-environment-test-py38.yml
conda activate pymc-test-py38
pip install .