Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
maximvochten committed Sep 11, 2024
2 parents 506f8c6 + 8dac72b commit edc22da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 5 additions & 2 deletions content/docs/python/installation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ On Linux, `git` and `Python` are pre-installed.

Open a terminal (e.g. the default terminal in Linux or `Anaconda Powershell Prompt` in Windows).

Make sure the latest version of `pip` is installed:
```shell
pip install --upgrade pip
```

Navigate to a suitable directory and clone the Git repository of [invariants-py](https://github.com/trajectory-invariants/invariants_py):

```shell
Expand All @@ -31,8 +36,6 @@ cd invariants_py
pip install -e .
```

If the installation fails, make sure you have the most recent versions of pip and setuptools using `pip install --upgrade pip setuptools`.

If the installation is successful, you should be able to run the following command in Python:

```python
Expand Down
3 changes: 1 addition & 2 deletions content/docs/python/installation/installation-fatrop.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ IMPORTANT --- A stable release of Fatrop is currently only available within the
To proceed with the installation of Fatrop, clone the following repository:

```shell
cd ..
git clone https://github.com/meco-group/fatrop.git --recursive
cd fatrop
```
Expand Down Expand Up @@ -54,4 +53,4 @@ import fatropy
import rockit
ocp = rockit.Ocp()
ocp.method(rockit.external_method('fatrop'))
```
```

0 comments on commit edc22da

Please sign in to comment.