Skip to content

Latest commit

 

History

History
43 lines (39 loc) · 778 Bytes

File metadata and controls

43 lines (39 loc) · 778 Bytes

Installing OSI for Python on Linux

Prerequisites

  • You have installed pip3.

  • You have installed python-setuptools.

  • You have installed protobuf.

  • For local installation, you have installed virtualenv.

Steps

  1. Open a terminal.

  2. Clone the Open Simulation repository.

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

    cd open-simulation-interface
  4. Create a new virtual environment.

    virtualenv -p python3 venv
  5. Activate the virtual environment.

    source venv/bin/activate
  6. Install Open Simulation Interface.

    Local installation

    pip3 install .

    Global installation

    sudo pip3 install .