天蓝Sea

关注

module ‘gym.envs.box2d‘ has no attribute ‘LunarLander‘

天蓝Sea

关注

阅读 309

2022-02-25

遇到报错

AttributeError:module ‘gym.envs.box2d’ has no attribute ‘LunarLander’

我能查到的统一的解决方案

pip install gym 
conda install swig
pip install box2d box2d-kengz

还是报错

尝试如下命令成功解决

pip install pygame

在这里插入图片描述

相关推荐

代码敲到深夜

AttributeError: module ‘cv2‘ has no attribute ‘face‘

代码敲到深夜 64 0 0

悄然丝语

module ‘asyncio‘ has no attribute ‘run‘

悄然丝语 179 0 0

求阙者

module ‘tensorflow‘ has no attribute ‘Session‘

求阙者 39 0 0

炽凤亮尧

module 'sklearn' has no attribute 'svm'

炽凤亮尧 104 0 0

西风白羽

AttributeError: module ‘cv2.cv2‘ has no attribute ‘ximgproc‘

西风白羽 78 0 0

爱写作的小土豆

AttributeError: module ‘matplotlib‘ has no attribute ‘verbose‘

爱写作的小土豆 131 0 0

柠檬的那个酸_2333

module ‘socketio‘ has no attribute ‘Client‘解决

柠檬的那个酸_2333 260 0 0

Alex富贵

ImportError: module ‘pip‘ has no attribute ‘main‘

Alex富贵 89 0 0

盖码范

详解module ‘yaml‘ has no attribute ‘FullLoader‘

盖码范 34 0 0

TiaNa_na

AttributeError: module 'argparse' has no attribute 'ArgumentParser'

TiaNa_na 105 0 0

精彩评论(0)

0 0 举报