From d949824d5486effd31b7bfee91b4c89c4ea31b5c Mon Sep 17 00:00:00 2001 From: Christopher Hesse Date: Fri, 16 Aug 2019 15:58:15 -0700 Subject: [PATCH 1/2] explicit dependencies, add link to fork with newer gym support --- README.md | 8 ++++++-- setup.py | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aa9bd3e8a..fc25e19c0 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,17 @@ Used in the paper [Multi-Agent Actor-Critic for Mixed Cooperative-Competitive En ## Getting started: +- Supported platforms: Mac and Linux with Python 3.5.4, check `python --version` to make sure you have the correct version of python installed. + + - If you're using [miniconda](https://docs.conda.io/en/latest/miniconda.html) (recommended) you can create an environment with `conda create --name multiagent-particle-envs python=3.5.4` + + - This release requires `gym==0.10.5`, for newer versions of gym try using (jarbus's fork of this repo)[https://github.com/jarbus/multiagent-particle-envs/tree/pullreq] instead + - To install, `cd` into the root directory and type `pip install -e .` - To interactively view moving to landmark scenario (see others in ./scenarios/): `bin/interactive.py --scenario simple.py` -- Known dependencies: Python (3.5.4), OpenAI gym (0.10.5), numpy (1.14.5) - - To use the environments, look at the code for importing them in `make_env.py`. ## Code structure diff --git a/setup.py b/setup.py index 88aa3dfd3..c3d8ead29 100644 --- a/setup.py +++ b/setup.py @@ -9,5 +9,5 @@ packages=find_packages(), include_package_data=True, zip_safe=False, - install_requires=['gym', 'numpy-stl'] + install_requires=['gym==0.10.5', 'numpy==1.14.5', 'numpy-stl==2.10.1'] ) From e3b7b62436a4288e4106b4dee9501b7aaefff059 Mon Sep 17 00:00:00 2001 From: Christopher Hesse Date: Fri, 16 Aug 2019 16:00:50 -0700 Subject: [PATCH 2/2] fix link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fc25e19c0..3ecaaa162 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Used in the paper [Multi-Agent Actor-Critic for Mixed Cooperative-Competitive En - If you're using [miniconda](https://docs.conda.io/en/latest/miniconda.html) (recommended) you can create an environment with `conda create --name multiagent-particle-envs python=3.5.4` - - This release requires `gym==0.10.5`, for newer versions of gym try using (jarbus's fork of this repo)[https://github.com/jarbus/multiagent-particle-envs/tree/pullreq] instead + - This release requires `gym==0.10.5`, for newer versions of gym try using [jarbus's fork of this repo](https://github.com/jarbus/multiagent-particle-envs/tree/pullreq) instead - To install, `cd` into the root directory and type `pip install -e .`