Skip to content

Latest commit

 

History

History
60 lines (52 loc) · 1.01 KB

installing_windows_python.adoc

File metadata and controls

60 lines (52 loc) · 1.01 KB

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

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

Installing from source

Prerequisites
  • You have installed everything described in [top-installing-osi-prerequisits].

  • You have installed Python with administrator rights.

  • Make sure Python is added to PATH.

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 .