error: subprocess-exited-with-error × Getting requirements to build wheel did not run…
- User
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [3 lines of output] C:\Users\不知名的XXS\AppData\Local\Temp\pip-build-env-6fu11prc\overlay\Lib\site-packages\setuptools_distutils\dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) 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. [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
- Assistant
The error message you're seeing indicates that there is an issue with the setup configuration of a Python package you're trying to install, likely
gymor a dependency of it, usingpip. Specifically, the or file of the package contains an invalid configuration for . Here's how you can attempt to resolve this issue: