Installation
Custom
Conda Installation
Download Miniconda Installer
Visit the Miniconda Downloads page.
Select the Linux installer for Python 2.x or 3.x as per your requirements.
Open a Terminal
Open a terminal window on Linux by pressing
Ctrl + Alt + T, or search for “Terminal” in the applications menu.
Navigate to Download Directory
cd ~/Downloads
Change to the directory where the installer was downloaded, usually the
Downloadsdirectory.Make the Installer Executable
Make the downloaded script executable. Replace
Miniconda3-latest-Linux-x86_64.shwith the actual downloaded file name.chmod +x Miniconda3-latest-Linux-x86_64.sh
Run the Installer
Execute the installer script and follow the on-screen instructions.
./Miniconda3-latest-Linux-x86_64.sh
You’ll need to approve the license agreement and choose the installation location.
Initialize Conda
After installation, initialize Miniconda to add Conda to your PATH.
Close and Reopen Your Terminal
To apply the changes, close and reopen your terminal window.
Creating Environment
Create python 3.8 environment
Note
The name of the conda environment in this example is tiegcm.
conda create --name tiegcm python=3.8
Installing tiegcmpy
Warning
cartopy requires geos which doesn’t install properly via the pip install. Use the command below if you face the issue.
conda install -c conda-forge cartopy
To install tiegcmpy, run the following command:
pip install tiegcmpy
NCAR Derecho
Creating Environment
Load Conda module
module load conda
Create python 3.8 environment
Note
The name of the conda environment in this example is tiegcm.
conda create --name tiegcm python=3.8
Activate Environment
Note
Make sure the conda module is loaded.
conda activate tiegcm
Installing tiegcmpy
Warning
cartopy requires geos which doesn’t install properly via the pip install. Use the command below if you face the issue.
conda install -c conda-forge cartopy
To install tiegcmpy, run the following command:
pip install tiegcmpy
NASA Pleiades
Creating Environment
Load Conda module
module use -a /swbuild/analytix/tools/modulefiles
module load miniconda3/v4
Note
Replace $USER with your username on Pleiades.
export CONDA_PKGS_DIRS=/nobackup/$USER/.conda/pkgs
Create python 3.8 environment
conda create -n tiegcm python=3.8
Activate Environment
Note
The name of your environment will be set to my_{environment_name} due to Pleiades deployment.
Make sure the conda module is loaded.
conda activate my_tiegcm
Installing tiegcmpy
Warning
cartopy requires geos which doesn’t install properly via the pip install. Use the command below if you face the issue.
conda install -c conda-forge cartopy
To install tiegcmpy, run the following command:
pip install tiegcmpy