install nvidia digits - ImportError: No module named wtforms
<pre><code>  ___ ___ ___ ___ _____ ___
 |   \_ _/ __|_ _|_   _/ __|
 | |) | | (_ || |  | | \__ \
 |___/___\___|___| |_| |___/ 5.0.0-rc.1

Traceback (most recent call last):
  File "/home/jj/anaconda2/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/jj/anaconda2/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/jj/digits/digits/__main__.py", line 66, in &lt;module&gt;
main()
  File "/home/jj/digits/digits/__main__.py", line 49, in main
    import digits.config
  File "digits/config/__init__.py", line 7, in &lt;module&gt;
    from . import caffe
  File "digits/config/caffe.py", line 13, in &lt;module&gt;
    from digits.utils import parse_version
  File "digits/utils/__init__.py", line 158, in &lt;module&gt;
    from . import constants, image, time_filters, errors, forms, routing, auth
  File "digits/utils/forms.py", line 5, in &lt;module&gt;
    import wtforms
ImportError: No module named wtforms
</code></pre>

<p>which python</p>

<p>/home/jj/anaconda2/bin/python</p>

<p>which pip<br>
/home/jj/anaconda2/bin/pip</p>

<p>But 
sudo pip install wtforms                </p>

<pre><code>The directory '/home/jj/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/jj/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

Requirement already satisfied (use --upgrade to upgrade): wtforms in /usr/lib/python2.7/dist-packages
</code></pre>

<p>It might be path problem... Could you help..? </p>

<p>This is one of the canonical use cases for virtualenv.  Because you are using sudo to install, there are now two potential paths where items could be installed:  User and Root paths.</p>

<p>Try creating a virtualenv:</p>

<p>then pip install from inside virtualenv.</p>

python deep-learning nvidia caffe digits