Python3 ImportError:没有名为“reinforcement_learning”的模块。

3
以下代码:
#player2048.py file
from reinforcement_learning.rl.player_lib import Player

请告诉我出现了哪个错误:
ImportError: No module named 'reinforcement_learning'

我的项目文件夹: 这是我的项目文件夹

我改了文件夹和一些东西,所以请忽略这个。 - Dárley Barreto
1个回答

1
"reinforcement_learning文件夹中是否有__init__.py文件?由于屏幕截图可能被裁剪,因此需要确认。"

是的,有的。您可以查看:https://github.com/darleybarreto/deep-reinforcement-learning - Dárley Barreto

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接