- 博客(2)
- 收藏
- 关注
原创 报错: module 'gym' has no attribute 'make'
最近在学习强化学习,写DQN的程序时遇到了这个报错,花了好久时间才找出原因,来记录一下。安装openAI gympip3 install gym报错:module 'gym' has no attribute 'make'原因是python的版本问题,我的unbuntu里python2.7, 3.5, 3.7, 安装的时候装在python3.5的子目录中了,而我经常使用python3.7...
2020-04-18 10:53:14 2697
原创 Ubuntu用VSCode使用pytorch报错:‘torch’ has no member ‘xxx’
这里写自定义目录标题打开左下角设置图标的settings,然后在搜索框中搜索python.linting.pylintPath。下面的路径修改为:(anaconda安装路径)\pkgs\pylint-1.8.4-py36_0\Scripts\pylint具体操作:anaconda的路径:在vscode中的terminal输入cd ~/anaconda3pwd然后粘贴路径到上述路径框中...
2020-04-14 15:27:23 425
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人