Stanford-ILIAD / PantheonRL

PantheonRL is a package for training and testing multi-agent reinforcement learning environments. PantheonRL supports cross-play, fine-tuning, ad-hoc coordination, and more.
MIT License
121 stars 18 forks source link

Issue with gym==0.21.0 #17

Closed cartgr closed 9 months ago

cartgr commented 9 months ago

Was getting this:

Collecting gym==0.21 (from stable-baselines3==1.7.0->pantheonrl==0.0.1)
  Using cached gym-0.21.0.tar.gz (1.5 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info 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: 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.

So I downgraded my setuptolls and wheel which fixed the issue (see stackoverflow):

pip install setuptools==65.5.0 "wheel<0.40.0"

bsarkar321 commented 9 months ago

Thanks for letting us know! We've updated the README to reflect this.