Skip to content

Commit bfe9f33

Browse files
authored
Moved wiki install guides into installation.md directly (#5869)
* Moved wiki install guides into installation.d directly * Platform agnostic install instructions; removed PyMC3 instructions * Tweaks to text * Attempt to fix pre-commit failure
1 parent da1f63b commit bfe9f33

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

docs/source/installation.md

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,29 @@
11
(installation)=
22
# Installation
33

4-
To install PyMC, select the operating system where you want to perform the installation.
4+
We recommend using [Anaconda](https://www.anaconda.com/) (or [Miniforge](https://github.com/conda-forge/miniforge)) to install Python on your local machine, which allows for packages to be installed using its `conda` utility.
55

6-
## Linux
7-
[Linux installation guide](https://github.com/pymc-devs/pymc/wiki/Installation-Guide-(Linux))
6+
Once you have installed one of the above, PyMC can be installed into a new conda environment as follows:
87

9-
## MacOS
10-
[MacOS installation guide](https://github.com/pymc-devs/pymc/wiki/Installation-Guide-(MacOS))
8+
```console
9+
conda create -c conda-forge -n pymc_env pymc
10+
conda activate pymc_env
11+
```
12+
If you like, replace the name `pymc_env` with whatever environment name you prefer.
1113

12-
## Windows
13-
[Windows installation guide](https://github.com/pymc-devs/pymc/wiki/Installation-Guide-(Windows))
14+
15+
## JAX sampling
16+
17+
If you wish to enable sampling using the JAX backend via NumPyro, the following should also be installed:
18+
19+
```console
20+
pip install numpyro
21+
```
22+
23+
Similarly, to use BlackJAX for sampling it should be installed via `pip`:
24+
25+
```console
26+
pip install jax jaxlib blackjax
27+
```
28+
29+
Note that JAX is not directly supported on Windows systems at the moment.

0 commit comments

Comments
 (0)