Getting Started¶
Installation¶
Install Python 3.11 or later.
Create a Python 3.11+ virtual environment. This example uses the
venvmodule in the standard library to create a virtual environment in your current directory. You may prefer a singlepython-envsin your home directory instead of the current directory. You may also prefercondaormamba.$ python -m venv stride-env
Activate the virtual environment.
$ source stride-env/bin/activate
$ .\stride-env\Scripts\activate
Whenever you are done using stride, you can deactivate the environment by running deactivate.
Install the Python package
stride.$ git clone https://github.com/dsgrid/stride.git
$ git clone git@github.com:dsgrid/stride.git
Note
The “editable” installation option is required.
$ pip install -e stride