-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import caffe error #5108
Comments
What does What happens when you go to /path/to/caffe-master/python and type You can also try dynamically adding the path (if the above works):
I'm marking this as closed, since it should have been sent to caffe-users mailing list instead or stackoverflow. |
I got this error: echo PYTHONPATH result: |
You need to define the environment variable CAFFE_ROOT or replace it with the path. Please also answer my other questions, if you want assistance. |
Thaks williford |
Ask on the Caffe user mailing list and I will answer you there. I don't want to keep spamming the BVLC core developers. |
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
The text was updated successfully, but these errors were encountered: