2.3.5 Installing OSI for Python on Windows

2.3.5.1 Installing from PyPI

Steps
  1. Open a terminal.

  2. Optionally create and activate a new virtual environment.

    python -m venv venv
    venv\Scripts\activate
  3. Install Open Simulation Interface.

    pip install open-simulation-interface

2.3.5.2 Installing from source

Prerequisites
Steps
  1. Open a terminal.

  2. Clone the Open Simulation repository.

    git clone https://github.com/OpenSimulationInterface/open-simulation-interface.git
  3. Switch to the repository directory.

    cd open-simulation-interface
  4. Optionally create and activate a new virtual environment.

    python -m venv venv
    venv\Scripts\activate
  5. Install Open Simulation Interface.

    pip install .