IBLLIB Python Developer installation guideΒΆ

  1. Install Git onto your machine
    • Linux : Git comes with Linux.
    • Mac OS : Download and install Git from here: https://git-scm.com/download/mac .
    • Windows : Download and install Git from here: https://github.com/git-for-windows/git/releases/ .
  2. Activate/install your target Python 3.6 or greater environment. For example on Linux:


cd ibllib/
virtualenv iblenv --python=python3.7
source ./venv/bin/activate


conda create -n iblenv python=3.7
conda activate iblenv

Mac OS:

conda create -n iblenv python=3.7 anaconda
source activate iblenv
  1. Clone the ibllib repository and install ibllib in place:
git clone https://github.com/int-brain-lab/ibllib.git
cd ibllib
pip install -r requirements.txt
pip install -e .
  1. Run tests
    • In a shell terminal, in the ibllib folder with the proper environment activated:
      • Linux and Mac OS: source run_tests
      • Windows: call run_tests.bat Console output should end with OK