These instructions are tested on Ubuntu 16.04.5
, different Linux distributions
might require small modifications.
sudo apt-get update -qq && \
sudo apt-get upgrade -qq && \
sudo apt-get install -qq \
build-essential \
ccache \
cython \
git \
libboost-all-dev \
libgsl0-dev \
pandoc \
python-apsw \
python-flask \
python-jsonschema \
python-matplotlib \
python-nose \
python-nose-testconfig \
python-numpy \
python-pandas \
python-pexpect \
python-pip \
python-pytest \
python-requests \
python-scipy \
python-six \
python-sklearn \
python-statsmodels \
python-virtualenv \
; # end of package list
$ virtualenv --system-site-packages /path/to/venv
$ . /path/to/venv/bin/activate
$ pip install --upgrade pip
$ pip install setuptools==44.1.1 ipykernel==4.8.2 notebook==5.2.1
$ for project in bayeslite cgpm crosscat iventure Venturecxx; do
git clone git@github.com:probcomp/"${project}".git
cd "${project}"
python setup.py build
pip install --no-deps .
cd ..
done
$ python -c 'import iventure.magics'
$ for project in bayeslite cgpm crosscat iventure Venturecxx; do
cd "${project}"
./check.sh
cd ..
done