Skip to content

Commit

Permalink
Fixing error due to removed pip option on setup.py (mila-iqia#51)
Browse files Browse the repository at this point in the history
* Fixing error due to removed pip option on setup.py.

* Fixing incorrect parameter name in documentation.

* Fixing travis integration.

* Adding travis pip version update.
  • Loading branch information
perone authored and maximecb committed Feb 23, 2019
1 parent 5fbcda6 commit f2fc45e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ cache: pip
python:
- "3.5"

before_install:
- pip3 install --upgrade pip

# command to install dependencies
install:
- pip3 install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp35-cp35m-linux_x86_64.whl
- pip3 install --process-dependency-links --editable .
- pip3
- pip3 install --editable .
- pip3 install flake8

# command to run tests
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Then, clone this repository and install the other dependencies with `pip3`:
```
git clone https://github.com/mila-udem/babyai.git
cd babyai
pip3 install --process-dependency-links --editable .
pip3 install --editable .
```

### Installation using Conda (Alternative Method)
Expand Down Expand Up @@ -125,10 +125,10 @@ To run the interactive GUI application that illustrates the platform:
scripts/gui.py
```

The level being run can be selected with the `--env-name` option, eg:
The level being run can be selected with the `--env` option, eg:

```
scripts/gui.py --env-name BabyAI-UnlockPickup-v0
scripts/gui.py --env BabyAI-UnlockPickup-v0
```

### Training
Expand Down
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
'numpy==1.15.4', # Temporary: fix numpy version because of bug introduced in 1.16
'pyqt5>=5.10.1',
"torch>=0.4.1",
'gym_minigrid',
'blosc>=1.5.1'
'blosc>=1.5.1',
'gym_minigrid @ https://github.com/maximecb/gym-minigrid/archive/master.zip'
],
dependency_links=[
'git+https://github.com/maximecb/gym-minigrid.git#egg=gym_minigrid-0',
]
)

0 comments on commit f2fc45e

Please sign in to comment.