我刚刚尝试在我的 Ubuntu 16.04 Pc 上安装 Nvidia Digits 6.1.1。我仔细做了每个步骤,但在安装结束时,我在启动时收到此错误。
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/kenan/digits/digits/__main__.py", line 70, in <module>
main()
File "/home/kenan/digits/digits/__main__.py", line 55, in main
import digits.webapp
File "digits/webapp.py", line 7, in <module>
from flask_socketio import SocketIO
File "/usr/local/lib/python2.7/dist-packages/flask_socketio/__init__.py", line 16, in <module>
import socketio
File "/home/kenan/.local/lib/python2.7/site-packages/socketio/__init__.py", line 3, in <module>
from .client import Client
File "/home/kenan/.local/lib/python2.7/site-packages/socketio/client.py", line 7, in <module>
import engineio
File "/home/kenan/.local/lib/python2.7/site-packages/engineio/__init__.py", line 3, in <module>
from .client import Client
File "/home/kenan/.local/lib/python2.7/site-packages/engineio/client.py", line 2, in <module>
from json import JSONDecodeError
ImportError: cannot import name JSONDecodeError
我很感激任何建议。谢谢。