Open o9mniej opened 11 months ago
i have the exact same issue on linuxmint.
Use stable-retro instead.
it takes time to install compatible verison of these deps.
here it is: gym==0.25.2 gym-retro==0.8.0 importlib-metadata==7.0.1 numpy==1.24.4 pillow==10.2.0 PyQt5==5.15.10
my python version is Python 3.8.18
your python version is 3.11 I saw. it is only support 3.8. see this doc https://github.com/openai/retro
hello i cant install some things to make the ai run what do i do here is the error: C:\Users\alex2\Desktop\SuperMarioBros-AI-master>pip install gym-retro Collecting gym-retro Using cached gym-retro-0.7.1.tar.gz (168.7 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [33 lines of output] Traceback (most recent call last): File "C:\Users\alex2\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\alex2\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex2\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex2\AppData\Local\Temp\pip-build-env-tquqo5qx\overlay\Lib\site-packages\setuptools\build_meta.py", line 366, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\alex2\AppData\Local\Temp\pip-build-env-tquqo5qx\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users\alex2\AppData\Local\Temp\pip-build-env-tquqo5qx\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 71, in
File "C:\Users\alex2\AppData\Local\Temp\pip-build-env-tquqo5qx\overlay\Lib\site-packages\setuptools__init__.py", line 103, in setup
return distutils.core.setup( attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alex2\AppData\Local\Temp\pip-build-env-tquqo5qx\overlay\Lib\site-packages\setuptools_distutils\core.py", line 147, in setup
_setup_distribution = dist = klass(attrs)
^^^^^^^^^^^^
File "C:\Users\alex2\AppData\Local\Temp\pip-build-env-tquqo5qx\overlay\Lib\site-packages\setuptools\dist.py", line 303, in init
_Distribution.init(self, dist_attrs)
File "C:\Users\alex2\AppData\Local\Temp\pip-build-env-tquqo5qx\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 283, in init
self.finalize_options()
File "C:\Users\alex2\AppData\Local\Temp\pip-build-env-tquqo5qx\overlay\Lib\site-packages\setuptools\dist.py", line 654, in finalize_options
ep(self)
File "C:\Users\alex2\AppData\Local\Temp\pip-build-env-tquqo5qx\overlay\Lib\site-packages\setuptools\dist.py", line 674, in _finalize_setup_keywords
ep.load()(self, ep.name, value)
File "C:\Users\alex2\AppData\Local\Temp\pip-build-env-tquqo5qx\normal\Lib\site-packages\setuptools_scm_integration\setuptools.py", line 80, in version_keyword
assert isinstance(value, dict), "version_keyword expects a dict or True"
AssertionError: version_keyword expects a dict or True
[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.