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 .venv
Activate the virtual environment.
$ source .venv/bin/activate
$ .venv\Scripts\activate
$ .venv\Scripts\Activate.ps1
Whenever you are done using stride, you can deactivate the environment by running
deactivate.Install the Python package
stride.$ pip install stride-load-forecast
$ pip install git+https://github.com/dsgrid/stride
$ git clone https://github.com/dsgrid/stride.git $ cd stride $ pip install -e stride Note: The "editable" installation option (`-e`) is required.
$ git clone git@github.com:dsgrid/stride.git $ cd stride $ pip install -e stride Note: The "editable" installation option (`-e`) is required.