Skip to content

Commit aae3950

Browse files
author
Chris Fonnesbeck
committed
Added requirements.txt for installation of dependencies
1 parent 13976fa commit aae3950

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,27 +60,20 @@ Probabilistic Programming allows for automatic Bayesian inference on user-define
6060

6161
Running PyMC3 requires a working Python interpreter, either version 2.7 (or more recent) or 3.4 (or more recent); we recommend that new users install version 3.5 (but see special note below if you are a Windows user). A complete Python installation for Mac OSX, Linux and Windows can most easily be obtained by downloading and installing the free [`Anaconda Python Distribution`](https://www.continuum.io/downloads) by ContinuumIO.
6262

63-
`PyMC3` can be installed using [`pip`](https://pip.pypa.io/en/latest/installing.html). The following command will install the most recent working version directly from the GitHub repository:
63+
`PyMC3` can be installed using [`pip`](https://pip.pypa.io/en/latest/installing.html). PyMC3 also depends on several third-party Python packages which will be automatically installed when installing via pip. The four required dependencies are: `Theano`, `NumPy`, `SciPy`, `Matplotlib`, and `joblib`. To take full advantage of PyMC3, the optional dependencies `seaborn`, `pandas` and `Patsy` should also be installed. You can install PyMC3 and its dependencies by cloning this repository:
6464

65-
```bash
66-
pip install git+https://github.com/pymc-devs/pymc3
6765
```
68-
69-
PyMC3 depends on several third-party Python packages which will be automatically installed when installing via pip. The four required dependencies are: `Theano`, `NumPy`, `SciPy`, `Matplotlib`, and `joblib`.
70-
71-
To take full advantage of PyMC3, the optional dependencies `seaborn`, `pandas` and `Patsy` should also be installed. These are *not* automatically installed, but can be installed by:
72-
73-
```bash
74-
pip install seaborn patsy pandas
66+
git clone https://github.com/fonnesbeck/PyMC3_Oslo.git
7567
```
7668

77-
or, if you are running Anaconda, using the `conda` installer
69+
Then move into the directory created by the clone, and install the required packages using pip:
7870

7971
```bash
80-
conda install patsy pandas
72+
cd PyMC3_Oslo
73+
pip install -r requirements.txt
8174
```
8275

83-
Depending on which Anaconda installation you might have chosen, these may already have been installed.
76+
Depending on which Anaconda installation you might have chosen, several or all of the required packages may already have been installed.
8477

8578
### Windows Installation
8679

requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-e git+https://github.com/pymc-devs/pymc3.git#egg=pymc3
2+
seaborn
3+
patsy
4+
pandas
5+
-e git+https://github.com/pydot/pydot-ng.git#egg=pydot_ng

0 commit comments

Comments
 (0)