You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

安装minerl时遭遇extras_require错误的解决求助

安装minerl时遭遇extras_require错误的解决求助

我在执行pip install minerl命令时碰到了报错问题。一开始我尝试删除了项目里的extra_requirements部分代码和tests_requirement相关代码,删完之后重新尝试安装minerl,但还是出现一模一样的错误提示。我分别在WSL和PowerShell环境下都试过了,现在想找出解决办法,顺利完成minerl的安装。

下面是我遇到的错误日志:

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.

备注:内容来源于stack exchange,提问作者강윤주

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.14 10:53:06