Installing caffe on ubuntu 15.04 with anaconda 3 for python 3.4 - caffe module not found
I am trying to install caffe on my Ubuntu 15.04 with anaconda 3 (for python 3.4). I managed to establish all the requirements and I followed the instructions from the official site. So I downloaded caffe-master and did:
cd ./caffe-master
make all
make pycaffe
It finishes fine, no errors (finally). But after that, if I go to anaconda and do
import caffe
I am not getting any module. What am I doing wrong? Any ideas?
source to share
:
caffe python,
export PYTHONPATH = ~/Home/ /caffe/python: $ PYTHONPATH
.
python caffe
" ", , pythonpath,
import sys sys.path ['', '/ home / nikita / caffe / python', '/ home / nikita', '/usr/lib/python2.7', '/usr/lib/python2.7/plat- x86_64-linux-gnu ',' / usr / lib / python2.7 / lib-tk ',' / usr / lib / python2.7 / lib-old ',' / usr / lib / python2.7 / lib-dynload Packages', '/ home / nikita / .local / lib / python2.7 / site-']
If you see that the path / home / username / caffe / python is not there, then run
sys.path.append ('/ Home / username / coffee / python')
source to share