udacity / deep-reinforcement-learning

Repo for the Deep Reinforcement Learning Nanodegree program

Home Page:https://www.udacity.com/course/deep-reinforcement-learning-nanodegree--nd893

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: module 'gym.envs.box2d' has no attribute 'LunarLander'

hxhebit opened this issue · comments

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.

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