Installing HDDM on your personal computer - psychNerdJae/hddm_tutorial GitHub Wiki

If you just want to play around with HDDM for the workshop, I'd strongly recommend using Google Colab. Getting HDDM to install locally has proven to be somewhat challenging in the past, but the mailing list has found great solutions to common problems.

  1. Download and install Anaconda.

  2. If you're on macOS, install the command line tools. You can skip this step if you already have XCode installed.

  • Open Terminal and type: xcode-select --install
  • Use graphical installer to finish installation
  1. Create a conda virtual environment.
  • On macOS or Linux, open the Terminal and type: conda create -n pyHDDM python=3.6
  • On Windows, you'll use Anaconda Prompt, which emulates a terminal window.
  1. Learn some basic conda commands.
  • Activate: conda activate pyHDDM
  • Deactivate: conda deactivate
  • If you screw up your virtual environment, you can delete it and start over! conda remove -n pyHDDM --all
  1. Install packages.

Jae's macOS install routine:

conda activate pyHDDM
conda install conda-build
conda install pymc=2.3.8 -c conda-forge
conda install pandas patsy
export MACOSX_DEPLOYMENT_TARGET=10.11
pip install cython
pip install hddm
conda install jupyter