0
点赞
收藏
分享

微信扫一扫

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

天蓝Sea 2022-02-25 阅读 309
python

遇到报错

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

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

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

还是报错

尝试如下命令成功解决

pip install pygame

在这里插入图片描述

举报

相关推荐

0 条评论