Skip to content
Snippets Groups Projects
Commit 30d7db09 authored by danielle_rothermel's avatar danielle_rothermel
Browse files

Cleanup the setup instructions

parent c4bab74c
No related branches found
No related tags found
1 merge request!12Update README & Bugfixes
......@@ -167,49 +167,43 @@ You can add your SSH Keys to your GitLab account by going to your profile settin
```
git clone git@gitlab.aicrowd.com:nethack/neurips-2021-the-nethack-challenge.git
```
3. **Install** competition specific dependencies!
3. **Verify you have dependencies** for the Nethack Learning Environment
NLE requires `python>=3.5`, `cmake>=3.14` to be installed and available both when building the
package, and at runtime.
On **MacOS**, one can use `Homebrew` as follows:
``` bash
$ brew install cmake
```
pip install -r requirements
On a plain **Ubuntu 18.04** distribution, `cmake` and other dependencies
can be installed by doing:
```bash
# Python and most build deps
$ sudo apt-get install -y build-essential autoconf libtool pkg-config \
python3-dev python3-pip python3-numpy git flex bison libbz2-dev
# recent cmake version
$ wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
$ sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
$ sudo apt-get update && apt-get --allow-unauthenticated install -y \
cmake \
kitware-archive-keyring
```
4. Run rollouts with a random agent with `python test_submission.py`.
### For setting up the Nethack Learning Environment:
NLE requires `python>=3.5`, `cmake>=3.14` to be installed and available both when building the
package, and at runtime.
On **MacOS**, one can use `Homebrew` as follows:
``` bash
$ brew install cmake
```
On a plain **Ubuntu 18.04** distribution, `cmake` and other dependencies
can be installed by doing:
```bash
# Python and most build deps
$ sudo apt-get install -y build-essential autoconf libtool pkg-config \
python3-dev python3-pip python3-numpy git flex bison libbz2-dev
# recent cmake version
$ wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
$ sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
$ sudo apt-get update && apt-get --allow-unauthenticated install -y \
cmake \
kitware-archive-keyring
```
Afterwards it's a matter of setting up your environment. We advise using a conda
environment for this:
4. **Install** competition specific dependencies!
We advise using a conda environment for this:
```bash
# Optional: Create a conda env
$ conda create -n nle_challenge python=3.8
$ conda activate nle_challenge
$ pip install -r requirements.txt
```
```bash
$ conda create -n nle python=3.8
$ conda activate nle
$ pip install nle
```
5. Run rollouts with a random agent with `python test_submission.py`.
Find more details on the [original nethack repository](https://github.com/facebookresearch/nle)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment