[Python] extras_require error when downloading minerl

Discussão em 'Python' iniciado por Stack, Fevereiro 21, 2025.

  1. Stack

    Stack Membro Participativo

    Getting requirements to build wheel ... error error: subprocess-exited-with-error

    × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [3 lines of output] C:\Users\관리자\AppData\Local\Temp\pip-build-env-mfuc0o0x\overlay\Lib\site-packages\setuptools_distutils\dist.py:270: 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.

    note: This error originates from a subprocess, and is likely not a problem with pip.

    when I typed pip install minerl, this problem happened. I tried deleting the extra_requirements part and tests_requirement code. After getting rid of those lines I tried downloading minerl again but it kept giving the same error message. I tried it on both wsl and powershell. I want to fix this error and install minerl.

    Continue reading...

Compartilhe esta Página