-
Notifications
You must be signed in to change notification settings - Fork 13
Installation
John Pearson edited this page Nov 21, 2022
·
7 revisions
improv depends on certain OS-specific libraries and these can be installed as followed.
apt-get update
apt-get install -y gcc g++ libgl1 libgl1-mesa-glx libqt5x11extras5xcode-select --installPlease consult installation for Windows.
conda install -n base -c conda-forge mamba
-
Install
CaImAn.git clone https://github.com/pearsonlab/CaImAn/ cd CaImAn git checkout lite mamba env create -n improv -f environment.yml conda activate improv pip install . cd ..
-
Install
improv(see also Building and Packaging)mamba install pyqtgraph pip install build git clone https://github.com/pearsonlab/improv cd improv python -m build pip install -e .
-
Set the environmental variables for proper
CaImAnfunctionality.export MKL_NUM_THREADS=1 export OPENBLAS_NUM_THREADS=1
Note that the environmental variables has to be redefined every time a new shell is started. A more permanent solution would be to include these commands into the .bashrc or .zshrc file so that the variables are automatically redefined.
echo "export MKL_NUM_THREADS=1" >> ~/.bashrc
echo "export OPENBLAS_NUM_THREADS=1" >> ~/.bashrc