-
Notifications
You must be signed in to change notification settings - Fork 72
Installation
Pablo Winant edited this page Oct 5, 2016
·
1 revision
Dolo is distributed as a standard python package. It can be installed using conda with:
conda install -c conda-forge dolo
Here are some detailed instructions to install the in-development version:
- install git
- install anaconda with python 3.5
- install atom unless you already have a good text editor.
Launch git bash and from the command-line
- configure git to use
https
by default:
git config --global url."https://".insteadOf git://
- install dolo dependencies:
conda install -c conda-forge ruamel.yaml=0.11.11
conda install -c cwrowley slycot=0.2.0`` (linux osx only)
- create a work directory, and make it the current directory. For instance:
mkdir Work
cd Work
- get the latest version of dolang and install it in dev. mode:
git clone https://github.com/EconForge/Dolang.git
cd Dolang
pip install -e .
cd ..
- get the latest version of dolo and install it in dev. mode:
git clone https://github.com/EconForge/dolo.git
cd dolo
pip install -e .
cd ..
Now is time to play with the installation:
cd dolo/examples/notebooks
jupyter notebook
This should open a browser interface to many notebooks. Try to open and run them (hint: press Shift+Enter in each cell).