'ImportError: No module named skfmm

I am trying to install "DIGITS" in a virtual environment, I am receiving the following error:

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

Edited: After installing pip install scikit-fmm. The following error appeared:

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


Solution 1:[1]

As Ankur Jyoti Phukan said you should install the package with the command

pip install scikit-fmm

You may need to add the --user flag at the end depending on the permissions of your system.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Aaron Mcdaniel