2.3.5 Installing OSI for Python on Windows
2.3.5.1 Installing from PyPI
- Steps
-
-
Open a terminal.
-
Optionally create and activate a new virtual environment.
python -m venv venv venv\Scripts\activate
-
Install Open Simulation Interface.
pip install open-simulation-interface
-
2.3.5.2 Installing from source
- Prerequisites
-
-
You have installed everything described in Section 2.3.1, "Installing protobuf for static / dynamic linking".
-
You have installed Python with administrator rights.
-
Make sure Python is added to
PATH
.
-
- Steps
-
-
Open a terminal.
-
Clone the Open Simulation repository.
git clone https://github.com/OpenSimulationInterface/open-simulation-interface.git
-
Switch to the repository directory.
cd open-simulation-interface
-
Optionally create and activate a new virtual environment.
python -m venv venv venv\Scripts\activate
-
Install Open Simulation Interface.
pip install .
-