Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add conda-forge installation #43

Merged
merged 1 commit into from
May 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,37 +101,47 @@ pip install .[selected-interface]

### Installation with conda

#### Installation from conda-forge package

```bash
mamba create -n adamenv -c conda-forge adam-robotics
```

If you want to use `jax` or `pytorch`, just install the corresponding package as well.

#### Installation from repo

Install in a conda environment the required dependencies:

- **Jax** interface dependencies:

```bash
mamba create -n adamenv -c conda-forge -c robostack jax numpy lxml prettytable matplotlib ros-noetic-urdfdom-py
mamba create -n adamenv -c conda-forge jax numpy lxml prettytable matplotlib urdfdom-py
```

- **CasADi** interface dependencies:

```bash
mamba create -n adamenv -c conda-forge -c robostack casadi numpy lxml prettytable matplotlib ros-noetic-urdfdom-py
mamba create -n adamenv -c conda-forge casadi numpy lxml prettytable matplotlib urdfdom-py
```

- **PyTorch** interface dependencies:

```bash
mamba create -n adamenv -c conda-forge -c robostack pytorch numpy lxml prettytable matplotlib ros-noetic-urdfdom-py
mamba create -n adamenv -c conda-forge pytorch numpy lxml prettytable matplotlib urdfdom-py
```

- **ALL** interfaces dependencies:

```bash
mamba create -n adamenv -c conda-forge -c robostack jax casadi pytorch numpy lxml prettytable matplotlib ros-noetic-urdfdom-py
mamba create -n adamenv -c conda-forge jax casadi pytorch numpy lxml prettytable matplotlib urdfdom-py
```

Activate the environment, clone the repo and install the library:

```bash
mamba activate adamenv
git clone https://github.com/dic-iit/ADAM.git
git clone https://github.com/ami-iit/ADAM.git
cd ADAM
pip install --no-deps .
```
Expand Down