jity16 / ACE-Off-Policy-Actor-Critic-with-Causality-Aware-Entropy-Regularization

Official PyTorch implementation of "ACE:Off-Policy Actor-Critic with Causality-Aware Entropy Regularization"
20 stars 0 forks source link

dependency arrangement #1

Closed UbeCc closed 4 months ago

UbeCc commented 4 months ago

We cannot install gym due to some problems. For details, we'll get such 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.

So instead of installing setuptools after gym, we should download setuptools ahead.

setuptools==65.6.3
dm_env==1.6
graphviz==0.20.1
gym==0.19.0
gymnasium==0.29.1
ipdb==0.13.9
matplotlib==3.7.1
metaworld
networkx==3.0
numpy==1.23.5
pandas==1.4.2
pgmpy==0.1.25
pydot==1.4.2
pygam==0.9.1
pygraphviz==1.13
PyYAML==6.0
scikit_learn==1.2.2
scipy==1.13.0
statsmodels==0.14.0
torch==1.11.0
tqdm==4.64.0
wandb==0.13.10

ref: https://stackoverflow.com/questions/77124879/pip-extras-require-must-be-a-dictionary-whose-values-are-strings-or-lists-of

jity16 commented 4 months ago

Thank you for bringing this issue to our attention. As you suggested, pre-installing setuptools before gym can help resolve this issue. Here’s a step-by-step guide to address the problem. We will update the instructions.