Skip to content

Commit

Permalink
Merge pull request mila-iqia#39 from mila-udem/dyth-conda
Browse files Browse the repository at this point in the history
change conda installation instruction on README
add blosc to environment.yaml
  • Loading branch information
dyth authored Feb 1, 2019
2 parents 7ba90ac + 5a9a952 commit 24dce55
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,27 @@ pip3 install --process-dependency-links --editable .
If you are using conda, you can create a `babyai` environment with all the dependencies by running:

```
git clone https://github.com/mila-udem/babyai.git
cd babyai
conda env create -f environment.yaml
source activate babyai
```

Having done that, install this repository in the conda environment using the command above.
After that, execute the following commands to setup the environment.

```
cd ..
git clone https://github.com/maximecb/gym-minigrid.git
cd gym-minigrid
pip install --editable .
```

The last command installs the repository in editable mode. Move back to the `babyai` repository and install that in editable mode as well.

```
cd ../babyai
pip install --editable .
```

### Docker Container

Expand Down
3 changes: 2 additions & 1 deletion environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ dependencies:
- torchvision
- pyqt
- numpy
- blosc
- pip:
- gym
- gym

0 comments on commit 24dce55

Please sign in to comment.