-
Notifications
You must be signed in to change notification settings - Fork 2
Instructions
Sebastiano Ferraris edited this page Jan 23, 2019
·
11 revisions
- Install NiLabels: the current version is not (yet) pip installable. It can be installed in development mode. To proceed, initialise a virtual environment and execute the following instructions:
cd <folder where to clone the code>
git clone https://github.com/SebastianoF/nilabels.git
cd nilabels
pip install -e .
In development mode every change made to your local code will be directly affecting the installed library without reinstalling.
-
Install python requirements in requirements.txt with
pip install -r requirements.txt
in a virtualenv. -
For advanced method
symmetrise_wit_registration
, extra examples and quick arrays visualisation with ITK-snap you can
To uninstall:
pip uninstall nilabels
To delete the library in the virtualenv in case something really wrong happen and pip uninstall will not work correctly:
sudo rm -rf /path_to_site_packages_in_virtualenv/site-packages/nilabels*