aidudezzz / deepbots

A wrapper framework for Reinforcement Learning in the Webots robot simulator using Python 3.
https://deepbots.readthedocs.io/
GNU General Public License v3.0
243 stars 50 forks source link

Error in gym setup command: 'extras_require' #143

Open ethan-alderson opened 1 year ago

ethan-alderson commented 1 year ago

image

Running into this error when attempting pip install deepbots, I have upgraded pip, installed gym as a dependency, and am running Python 3.11.3. Am running into the same issue on other machines when attempting the same install.

KelvinYang0320 commented 1 year ago

@ethan-alderson Hi, thank you for opening an issue. Could you share your setuptools version with us and try pip install setuptools==65.5.0? https://github.com/openai/gym/issues/3176#issuecomment-1408598628

tsampazk commented 1 year ago

Hey @ethan-alderson, did you have any luck with this issue?

ethan-alderson commented 1 year ago

Yep, had some clashing dependencies, worked in a fresh virtual environment!

tsampazk commented 1 year ago

I'm reopening this issue and will keep it open as it is recurring and other users might face it until the gym setup stuff is ironed out. Also pinned it.

tsampazk commented 1 year ago

@ethan-alderson Hi, thank you for opening an issue. Could you share your setuptools version with us and try pip install setuptools==65.5.0? openai/gym#3176 (comment)

For other users that run into this issue, i investigated further, and apart from setup tools version, pip version also interferes with gym installation.

If pip install setuptools==65.5.0 itself doesn't fix it, try:

pip install setuptools==65.5.0 pip==21

This modifies the user's environment unfortunately. We will investigate (#147) into changing our gym dependency to gymnasium (see also this).