Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneT2000 committed Sep 20, 2023
1 parent c4d6e4e commit 4159fd8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,20 @@ If you use the Lux AI Season 2 environment in your work, please cite this reposi

## Getting Started

You will need Python >=3.7, <3.11 installed on your system. Once installed, you can install the Lux AI season 2 environment and optionally the GPU version with
You will need Python >=3.8, <3.11 installed on your system. Once installed, you can install the Lux AI season 2 environment and optionally the GPU version with

```
pip install --upgrade luxai_s2
pip install juxai-s2 # installs the GPU version, requires a compatible GPU
```

If you have `gym` installation issues, we recommend running `pip install setuptools==59.8.0`. If you have issues installing `vec-noise`, make sure to read the error output, it's usually because you are missing some C/C++ build tools. If you use conda, we highly recommend creating an environment based on the [environment.yml file in this repo](https://github.com/Lux-AI-Challenge/Lux-Design-S2/blob/main/environment.yml). If you don't know how conda works, I highly recommend setting it up, see the [install instructions](https://conda.io/projects/conda/en/latest/user-guide/install/index.html#regular-installation).

To create a conda environment and use it run
If you don't know how conda works, I highly recommend setting it up, see the [install instructions](https://conda.io/projects/conda/en/latest/user-guide/install/index.html#regular-installation). You can then setup the environment as follows

```
conda env create -f environment.yml
conda create -n "luxai_s2" "python==3.9"
conda activate luxai_s2
pip install --upgrade luxai-s2
```


Expand Down
5 changes: 2 additions & 3 deletions luxai_s2/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,15 @@ def get_version(rel_path):
packages=find_packages(exclude="kits"),
entry_points={"console_scripts": ["luxai-s2 = luxai_runner.cli:main"]},
version=get_version("luxai_s2/version.py"),
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=[
"numpy",
"pygame",
"termcolor",
"matplotlib",
"pettingzoo",
"vec_noise",
"gym==0.21.0",
"gymnasium",
"scipy",
"importlib-metadata<5.0" # fixes bug where they deprecated an endpoint that openai gym uses
],
)

0 comments on commit 4159fd8

Please sign in to comment.