-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Running setup.py install for gym did not run successfully. #8078
Comments
To be honest - i think We'll need some more info though - for example the output of There's a bug report for this in the gym repo already: openai/gym#3176 |
The error message indicates that the value of the extras_require argument in the setup.py file for the gym package is not formatted correctly. To resolve the issue, you need to make sure the extras_require argument is a dictionary where the keys are the feature names and the values are strings or lists of strings representing the required packages. The strings should contain valid project and version requirement specifiers (e.g. "package_name>=version"). Here's an example of a correctly formatted extras_require argument: extras_require = { |
@rashiddaha yes - but that change needs to happen in gym (not freqtrade) - which is an old version (because sb3-baseline didn't update to a newer gym release yet). I suspect this issue will now ripple through the different chains - ultimately ending with either pinning setuptools to a lower version - or a new minor release of gym==0.21.x - fixing this issue. |
@xmatthias Yes, You can Try By Changing the Version as well. |
This comment was marked as spam.
This comment was marked as spam.
Hi, I can do it |
The following is a notice in the homepage of Gym repo. |
freqtrade doesn't depend directly on gym. We'd love to update - but DLR-RM/stable-baselines3#780 stands in our way. |
See freqtrade/freqtrade#8078 ``` error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specif ```
See freqtrade/freqtrade#8078 ``` error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specif ```
See freqtrade/freqtrade#8078 ``` error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specif ```
See freqtrade/freqtrade#8078 ``` error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specif ``` Co-authored-by: William Blum <william.blum@microsoft.com>
See freqtrade/freqtrade#8078 ``` error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specif ``` Co-authored-by: William Blum <william.blum@microsoft.com>
Running setup.py install for gym ... error
error: subprocess-exited-with-error
environment
Describe the problem:
Hello !
I try to setup freqtrade on ProxmoxVM-ubuntu-22.04.1-live-server
get this 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.
Failed installing dependencies
The text was updated successfully, but these errors were encountered: