minerllabs / minerl

MineRL Competition for Sample Efficient Reinforcement Learning - Python Package
http://minerl.io/docs/
Other
697 stars 154 forks source link

problem with gym while installing minerl #788

Open 1Sep7 opened 4 weeks ago

1Sep7 commented 4 weeks ago

so i decided to try minerl and before even starting i found this problem while doing "pip install minerl"

Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [3 lines of output] C:\Users\Utente\AppData\Roaming\Python\Python311\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: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

Miffyli commented 3 weeks ago

Hey. Installing from pip does not work with newer Python versions sadly. You need to install MineRL from the github with the settings in the README: https://github.com/minerllabs/minerl