Hi,
I'm unable to import caffe. I'm using ubuntu 14.04 and python2.7. I get the following error message while importing caffe.
>>> import caffe
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/inforce-ashwin/python/caffe/__init__.py", line 1, in <module>
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
File "/home/inforce-ashwin/python/caffe/pycaffe.py", line 13, in <module>
from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
ImportError: libcaffe.so.1.0.0-rc4: cannot open shared object file: No such file or directory
I get the following when running check_python_depends.sh
inforce-ashwin@inforceashwin-desktop:~/snpe-1.6.0/bin$ ./check_python_depends.sh
Supported version of Python found: 2.7
Checking for python-numpy: install ok installed
WARNING: It appears the python module numpy is installed on this system using the apt-get distribution as well as pip. If you encounter errors, please use only one distribution.
===========================================
dpkg-query: no packages found matching python-sphinx
Checking for python-sphinx:
dpkg-query: no packages found matching python-scipy
Checking for python-scipy:
dpkg-query: no packages found matching python-matplotlib
Checking for python-matplotlib:
dpkg-query: no packages found matching python-skimage
Checking for python-skimage:
dpkg-query: no packages found matching python-protobuf
Checking for python-protobuf:
Checking for python-yaml: install ok installed
WARNING: It appears the python module pyyaml is installed on this system using the apt-get distribution as well as pip. If you encounter errors, please use only one distribution.
And i'm unable to install these packages via pip.
Please help!
Check caffe installation properly. Nothing to do with SNPE setup.
Why? I installed numpy v1.8.1, sphinx v1.2.2, scipy v0.13.3, matplotlib v1.3.1, skimage 0.9.3, protobuf 2.5.0, pyyaml 3.10.