-
Notifications
You must be signed in to change notification settings - Fork 65
Installation
Etienne Combrisson edited this page Aug 14, 2018
·
4 revisions
Note that Visbrain is a Python 3 package that works best with python scripts (*.py). On some systems, it might works inside iPython (and rarely in Jupyter but you might be lucky !)
Here's the list of the main dependencies :
We also strongly recommend to install to install PyOpenGL :
pip install PyOpenGL
Depending of usages, some additional packages might be needed :
- Pandas & xlrd : table import / export
- Pillow : export figures
- Nibabel : read nifti files
- MNE-python : alternative to read sleep data files
- Tensorpac : compute and display phase-amplitude coupling
- lspopt : multitaper spectrogram
We provide several installation options depending on your needs :
- Regular installation : install the latest stable version from PyPi
- Latest master version : install the latest master version on github
-
Developer mode : if you intend to contribute to visbrain or just want latest features (using
git pull
) - Configure a full conda environnement : configure your conda environnement from scratch
Install the latest stable version from PyPi :
pip install visbrain
- Install the latest vispy :
pip install git+https://github.com/vispy/vispy.git
- Then, install the latest development version without cloning the repository :
pip install git+https://github.com/EtienneCmb/visbrain.git
git clone https://github.com/EtienneCmb/visbrain.git visbrain/
cd visbrain/
python setup.py develop
git checkout develop
conda create -q -n py36 python=3.6 numpy scipy pip
source activate py36
pip install matplotlib pyqt5 vispy pillow
pip install visbrain PyOpenGL PyOpenGL_accelerate