FinRL icon indicating copy to clipboard operation
FinRL copied to clipboard

installation error encountered on windows WSL

Open Jushan-Randy-Chen opened this issue 1 year ago • 2 comments

Hi,

I ran the following command to install FinRL:

pip install git+https://github.com/AI4Finance-Foundation/FinRL.git

However, the following error occurred:

  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.

I did some googling but was not able to fix this yet. Any help is greatly appreciated!

Jushan-Randy-Chen avatar Apr 22 '23 16:04 Jushan-Randy-Chen

Hi, this might be caused by the problem of old version gym. We are working on updating it to gymnasium. Now you could try to downgrade setuptools==65.5.0 https://github.com/openai/gym/issues/3176

ZiyiXia avatar May 01 '23 16:05 ZiyiXia

pls try pip install finrl

zhumingpassional avatar May 02 '23 01:05 zhumingpassional