Import caffe error

60 views
Skip to first unread message

DarkNavrel

unread,
Dec 20, 2016, 8:18:08 AM12/20/16
to Caffe Users

Error:
Traceback (most recent call last):
File "", line 1, in 
ImportError: No module named caffe

I'm add export PYTHONPATH=/path/to/caffe-master/python:$PYTHONPATH in ~/.bashrc
I'm execute
make all
make test
make runtest
make pycaffe
make distribute

Using debian jessie, and I followed this tutorial.: https://github.com/BVLC/caffe/wiki/Ubuntu-16.04-or-15.10-Installation-Guide
Everything worked completely well during the installation but when I run a project that uses the import caffe this error happens. I've tried everything but nothing works, can anyone help me? Thank you in advance.
Already tried:
#720
#263
#4389


My ask on issues: #5108

Jonathan R. Williford

unread,
Dec 21, 2016, 3:37:50 AM12/21/16
to Caffe Users
Thanks for asking on caffe-users. Can you answer this question:

What happens when you go to /path/to/caffe-master/python and type python -c 'import caffe'?

Jonathan
Reply all
Reply to author
Forward
0 new messages