:github_url: https://github.com/mpopt/mpopt/blob/docs/docs/source/installation.rst
.. title:: Installation
.. _installation:
##########################
Installation
##########################
- Install from `PyPI `_ using the
following terminal command. Refer getting started to solve OCPs.
.. code:: bash
pip install mpopt
- (OR) Build directly from source (Terminal). Finally, ``make run`` to
solve the moon-lander example described below.
.. code:: bash
git clone https://github.com/mpopt/mpopt.git --branch master
cd mpopt
make build
make run
source env/bin/activate
For discussions related to installation, refer `issues `_
Next steps: :doc:`./getting_started>`_, :doc:`./examples`_