安装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,提问作者강윤주
相关产品推荐
相关产品推荐

