-
Notifications
You must be signed in to change notification settings - Fork 370
Updating CaImAn
eftychios pnevmatikakis edited this page Jul 12, 2018
·
7 revisions
If you have you not used the pip installation before (established in May 2018) follow the instructions in the README file.
If you already have CaImAn installed with the pip installer, but want to upgrade, please follow the procedure below. If you reinstall CaImAn frequently, you can try skip deleting and recreating your Conda environment. In this case you can do only steps 1, 5, and 7 below to update the code. However, if the environment file has changed since your last update this may lead to you not the latest version.
From the conda environment you used to install CaImAn:
pip uninstall caiman
- remove or rename your ~/caiman_data directory
- Remove your conda environment:
conda env remove -n NAME_OF_YOUR_ENVIRONMENT
- Close and reopen your shell (to clear out the old conda environment)
- Do a
git pull
from inside your CaImAn folder. - Recreate and reenter your conda environment as you did in the README
- Do a
pip install .
inside that code checkout - Run
caimanmanager.py install
to reinstall the data directory (use--inplace
if you used thepip install -e .
during your initial installation).
- If you used the
pip install -e .
option, then you can try updating by simply doing agit pull
. Again, this might not lead to the latest version of the code if the environment variables have changed.