【发布时间】:2020-05-18 11:47:09
【问题描述】:
这是我获取与赛车类型相关的游戏列表的代码我正在尝试在 python 中使用 jupyter 访问游戏名称我已经使用 anaconda 提示安装了库但是当我运行代码时出现此错误。
import rawgpy
from rawgpy import data_classes
results= data_classes.charts.GenreChart("racing")
game = results[0]
game.populate()`
AttributeError: module 'rawgpy.data_classes' has no attribute 'charts'
Can someone please help mw with this error
【问题讨论】: