Practice lab problem, box2d install fail

When I use pip install gym[all] to install the OpenAI pacakge gym, there is an error shows follow. And I have trid every method I can find on website, but there is no useful advice. What should I do to solve this problem

Building wheels for collected packages: box2d-py
Building wheel for box2d-py ( … error
error: subprocess-exited-with-error

× python bdist_wheel did not run successfully.
│ exit code: 1
╰─> [41 lines of output]
Using setuptools (version 67.3.2).
running bdist_wheel

I recommend you run the Reinforcement Learning assignment in Coursera Labs.

OpenAI seems to no longer be supporting the gym package, so it’s difficult to install locally.

1 Like

Ok, thank you very much for the answer, solved my confusion for a long time!