1

我正在尝试在虚拟环境中安装“DIGITS”,我收到以下错误:

digits/webapp.py:7: ExtDeprecationWarning: Importing flask.ext.socketio is deprecated, use flask_socketio instead.
  from flask.ext.socketio import SocketIO
/home/ss/anaconda2/envs/caffeenv/lib/python2.7/site-packages/gevent/builtins.py:93: ExtDeprecationWarning: Importing flask.ext.wtf is deprecated, use flask_wtf instead.
  result = _import(*args, **kwargs)
Traceback (most recent call last):

    import skfmm
  File "/home/ss/anaconda2/envs/caffeenv/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
ImportError: No module named skfmm

编辑:安装后pip install scikit-fmm。出现以下错误:

digits/webapp.py:7: ExtDeprecationWarning: Importing flask.ext.socketio is deprecated, use flask_socketio instead.
  from flask.ext.socketio import SocketIO
/home/ss/anaconda2/envs/caffeenv/lib/python2.7/site-packages/gevent/builtins.py:93: ExtDeprecationWarning: Importing flask.ext.wtf is deprecated, use flask_wtf instead.
  result = _import(*args, **kwargs)
Traceback (most recent call last):
  File "/home/ss/anaconda2/envs/caffeenv/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  ...
    exc_class, code = self._get_exc_class_and_code(code_or_exception)
  File "/home/ss/anaconda2/envs/caffeenv/lib/python2.7/site-packages/flask/app.py", line 1104, in _get_exc_class_and_code
    exc_class = default_exceptions[exc_class_or_code]
KeyError: 300
4

0 回答 0