Skip to content

Latest commit

 

History

History
66 lines (58 loc) · 1.03 KB

installing_linux_python.adoc

File metadata and controls

66 lines (58 loc) · 1.03 KB

../_config.adoc = Installing OSI for Python on Linux

Installing from PyPI

Steps
  1. Open a terminal.

  2. Optionally create and activate a new virtual environment.

    python3 -m venv venv
    source venv/bin/activate
  3. Install Open Simulation Interface.

    pip install open-simulation-interface

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.

    python3 -m venv venv
    source venv/bin/activate
  5. Install Open Simulation Interface.

    1. Local installation

      pip install .
    2. Global installation

      sudo pip install .