mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-01 06:07:08 +00:00
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -6,7 +6,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.7, 3.8, 3.9]
|
python-version: ['3.7', '3.8', '3.9', '3.10']
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: |
|
- run: |
|
||||||
|
@@ -10,7 +10,7 @@ To install the base Gym library, use `pip install gym`.
|
|||||||
|
|
||||||
This does not include dependencies for all families of environments (there's a massive number, and some can be problematic to install on certain systems). You can install these dependencies for one family like `pip install gym[atari]` or use `pip install gym[all]` to install all dependencies.
|
This does not include dependencies for all families of environments (there's a massive number, and some can be problematic to install on certain systems). You can install these dependencies for one family like `pip install gym[atari]` or use `pip install gym[all]` to install all dependencies.
|
||||||
|
|
||||||
We support Python 3.7, 3.8 and 3.9 on Linux and macOS. We will accept PRs related to Windows, but do not officially support it.
|
We support Python 3.7, 3.8, 3.9 and 3.10 on Linux and macOS. We will accept PRs related to Windows, but do not officially support it.
|
||||||
|
|
||||||
## API
|
## API
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ Gym keeps strict versioning for reproducibility reasons. All environments end in
|
|||||||
|
|
||||||
## Citation
|
## Citation
|
||||||
|
|
||||||
A whitepaper from when OpenAI Gym just came out is available https://arxiv.org/pdf/1606.01540, and can be cited with the following bibtex entry:
|
A whitepaper from when Gym just came out is available https://arxiv.org/pdf/1606.01540, and can be cited with the following bibtex entry:
|
||||||
|
|
||||||
```
|
```
|
||||||
@misc{1606.01540,
|
@misc{1606.01540,
|
||||||
|
@@ -1,20 +0,0 @@
|
|||||||
# Envs
|
|
||||||
|
|
||||||
These are the core integrated environments. Note that we may later
|
|
||||||
restructure any of the files, but will keep the environments available
|
|
||||||
at the relevant package's top-level. So for example, you should access
|
|
||||||
`AntEnv` as follows:
|
|
||||||
|
|
||||||
```
|
|
||||||
# Will be supported in future releases
|
|
||||||
from gym.envs import mujoco
|
|
||||||
mujoco.AntEnv
|
|
||||||
```
|
|
||||||
|
|
||||||
Rather than:
|
|
||||||
|
|
||||||
```
|
|
||||||
# May break in future releases
|
|
||||||
from gym.envs.mujoco import ant
|
|
||||||
ant.AntEnv
|
|
||||||
```
|
|
@@ -102,10 +102,7 @@ class APIError(Error):
|
|||||||
try:
|
try:
|
||||||
http_body = http_body.decode("utf-8")
|
http_body = http_body.decode("utf-8")
|
||||||
except:
|
except:
|
||||||
http_body = (
|
http_body = "<Could not decode body as utf-8.>"
|
||||||
"<Could not decode body as utf-8. "
|
|
||||||
"Please report to gym@openai.com>"
|
|
||||||
)
|
|
||||||
|
|
||||||
self._message = message
|
self._message = message
|
||||||
self.http_body = http_body
|
self.http_body = http_body
|
||||||
|
3
setup.py
3
setup.py
@@ -41,7 +41,7 @@ setup(
|
|||||||
version=VERSION,
|
version=VERSION,
|
||||||
description="Gym: A universal API for reinforcement learning environments.",
|
description="Gym: A universal API for reinforcement learning environments.",
|
||||||
url="https://github.com/openai/gym",
|
url="https://github.com/openai/gym",
|
||||||
author="Gym community",
|
author="Gym Community",
|
||||||
author_email="jkterry@umd.edu",
|
author_email="jkterry@umd.edu",
|
||||||
license="",
|
license="",
|
||||||
packages=[package for package in find_packages() if package.startswith("gym")],
|
packages=[package for package in find_packages() if package.startswith("gym")],
|
||||||
@@ -71,5 +71,6 @@ setup(
|
|||||||
"Programming Language :: Python :: 3.7",
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user