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

Installation error : Running setup.py install for gym did not run successfully. #897

Closed
iliasoudghiri opened this issue Feb 16, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@iliasoudghiri
Copy link

I'm trying to install FinRL on Mac OS following the docs.
I get the following error :

`error: subprocess-exited-with-error

× Running setup.py install for gym did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
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: legacy-install-failure

× Encountered error while trying to install package.
╰─> gym

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.`

@zhumingpassional
Copy link
Collaborator

pls git clone or download .zip locally.

@iliasoudghiri
Copy link
Author

Found a solution here
Turns out it had to do with the version of setuptools I was using.

@YangletLiu YangletLiu added the bug Something isn't working label Feb 17, 2023
@zhumingpassional
Copy link
Collaborator

zhumingpassional commented Feb 18, 2023

@iliasoudghiri
could you pls submit a PR? I will review and merge it.

@iliasoudghiri
Copy link
Author

iliasoudghiri commented Feb 20, 2023

@zhumingpassional I believe there is already one about this here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants