Uninstall - cma-open/cmatools GitHub Wiki

Various options are available to remove the package and then re-install for testing

To uninstall and remove local files (e.g. to prepare for fresh install and testing)

This script runs pip uninstall and then removes the local build and .egg-info directories

 cd scripts/uninstall
 chmod +x uninstall-cmatools.sh
 ./uninstall-cmatools.sh

To remove the current named conda environment

To completely remove the current named environment ready to begin a fresh installation:


 cd scripts/conda
 chmod +x remove-conda-env.sh
 ./remove-conda-env.sh

To update the python packages that are present in the conda environment

Check that the python packages you wish to use are present on conda-forge, and the correct reference package name to use, then edit the list of packages present in the following file

 environment.yml 

To delete the installation of miniconda

To completely delete miniconda, e.g. ready to begin a fresh installation:

 cd scripts/conda
 chmod +x delete-miniconda-from-system.sh
 ./delete-miniconda-from-system.sh