AttributeError: module 'gym.envs.box2d' has no attribute 'LunarLander'
hxhebit opened this issue · comments
hxhe commented
Thank u a lot for your program, and here is a problem i met when i ran the deep-reinforcement-learning/dqn/solution/Deep_Q_Network_Solution.ipynb on the google colab platform.
as u can see, I cant make the env successfully.
Tawsif Kamal commented
Hey. You have to install the box2d module separately in order to get environments such as LunarLander to work. Here is a solution that you could consider: https://stackoverflow.com/questions/51811263/problems-pip-installing-box2d