Quick Start: Installation

  1. Users should create a DSI virtual environment with a name of your choice, e.g., mydsi:

    Python virtual environment

    python3 -m venv mydsi
    source mydsi/bin/activate           # start from here if virtual environment exists
    pip install --upgrade pip
    

    Miniconda3 virtual environment

    . ~/miniconda3/bin/activate
    conda create -n mydsi python=3.11
    conda activate mydsi                # only run this if virtual environment exists
    
  2. Install DSI:

    Alpha-version: Clone the dsi repo, move into the new dsi directory, and use pip to install all base packages:

    git clone https://github.com/lanl/dsi.git
    cd dsi
    pip install .
    

    Supported release: Published versions on PyPI at https://pypi.org/project/dsi-workflow/. Install the latest version by:

    python3 -m pip install dsi-workflow
    
  3. (Optional) If using all DSI functionalities, it is necessary to install requirements.extras.txt as well:

    pip install -r requirements.extras.txt
    
  4. When you’ve completed work, deactivate the environment with:

    deactivate