InstallationΒΆ
The gmcluster package is currently only available to download and install from source available through GitHub at GMCluster.
Clone or download the repository and get inside:
git clone https://github.com/cabouman/gmcluster.git
cd gmcluster
Install the conda environment and package
Option 1: Clean install from dev_scripts
*****You can skip all other steps if you do a clean install.****
To do a clean install, use the command:
cd dev_scripts source clean_install_all.sh cd ..
Option 2: Manual install
Create conda environment:
Create a new conda environment named
gmclusterusing the following commands:conda create --name gmcluster python=3.9 conda activate gmcluster
Anytime you want to use this package, this
gmclusterenvironment should be activated with the following:conda activate gmcluster
Install the dependencies:
To install the packages, use the following command.
pip install -r requirements.txt
Install gmcluster package:
Use the following command to install the package.
pip install .
To allow editing of the package source while using the package, use
pip install -e .
Validate the installation by running a demo script:
cd demo
python demo_1.py