-
Notifications
You must be signed in to change notification settings - Fork 122
Description
The problem occured when trying 'poetry install'.
` - Installing gym (0.21.0): Failed
ChefBuildError
Backend subprocess exited when trying to invoke get_requires_for_build_wheel
error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
at ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/installation/chef.py:164 in _prepare
160│
161│ error = ChefBuildError("\n\n".join(message_parts))
162│
163│ if error is not None:
→ 164│ raise error from None
165│
166│ return path
167│
168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with gym (0.21.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "gym (==0.21.0)"'.`
I searched about it and it seems to be a problem with gym(0.21.0). I have no idea how to tackle with this problem using given poetry.lock.
Is it another way to avoid this problem? Also, would it be convenient if we could upgrade to gym(>=0.22)?
Many Thanks.