我正在尝试使用Retro模块,而我的Jupyter笔记本计算机似乎是通过!pip install retro
安装的,通过下载/安装就可以了。
但是当我尝试import retro
时,我得到一个错误
`
Traceback (most recent call last):
File "/home/benbartling/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2963, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-1-81066d3a41c5>", line 1, in <module>
import retro
File "/home/benbartling/anaconda3/lib/python3.6/site-packages/retro/__init__.py", line 206
print "%s: %s" % (key, value)
^
SyntaxError: invalid syntax
有人会有什么想法吗?谢谢