Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with gym while installing minerl #788

Open
1Sep7 opened this issue Sep 25, 2024 · 5 comments
Open

problem with gym while installing minerl #788

1Sep7 opened this issue Sep 25, 2024 · 5 comments
Labels
question Issue is a question

Comments

@1Sep7
Copy link

1Sep7 commented Sep 25, 2024

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 Miffyli added the question Issue is a question label Sep 28, 2024
@Miffyli
Copy link
Contributor

Miffyli commented Sep 28, 2024

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

@lukedoma1
Copy link

Which version of Python do we need? I don't see where in the README the instructions for the correct python version are.

@Miffyli
Copy link
Contributor

Miffyli commented Nov 17, 2024

Yes, those were never added as "the current Python version was the right at the time" 😅 . You can try using e.g., Python 3.8, but I think this leads to issues with other dependencies not supporting older Pythons. This is a dependency-mess that makes installation of the older MineRLs difficult, and maintainers have not had time to fix these issues

@lukedoma1
Copy link

Okay, thank you. Yeah, I wasn't able to figure out how to install v0.3.7, but I eventually got v1.0.0 to work with python 3.10 using Ubuntu VM.

@stephmilani
Copy link

If you find an install combination that works, also please feel free to open up a PR documenting it to help others get set up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issue is a question
Projects
None yet
Development

No branches or pull requests

4 participants