../_config.adoc = Installing OSI for Python on Linux
- Steps
-
-
Open a terminal.
-
Optionally create and activate a new virtual environment.
python3 -m venv venv source venv/bin/activate
-
Install Open Simulation Interface.
pip install open-simulation-interface
-
- *Prerequisites
-
-
You have installed everything described in [top-installing-osi-prerequisits].
-
You have installed pip.
-
- 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.
python3 -m venv venv source venv/bin/activate
-
Install Open Simulation Interface.
-
Local installation
pip install .
-
Global installation
sudo pip install .
-
-