Getting Started

Installation

  1. Install Python 3.11 or later.

  2. Create a Python 3.11+ virtual environment. This example uses the venv module in the standard library to create a virtual environment in your current directory. You may prefer a single python-envs in your home directory instead of the current directory. You may also prefer conda or mamba.

    $ python -m venv stride-env
    
  3. Activate the virtual environment.

    $ source stride-env/bin/activate
    

Whenever you are done using stride, you can deactivate the environment by running deactivate.

  1. Install the Python package stride.

    $ git clone https://github.com/dsgrid/stride.git
    

    Note

    The “editable” installation option is required.

    $ pip install -e stride