caffe
caffe copied to clipboard
Make PyCaffe Error
Issue summary
import caffe results in:
ImportError: No module named 'caffe._caffe'
Solution I found was to run:
make pycaffe that results in error:
/usr/bin/ld: cannot find -lboost_python3
collect2: error: ld returned 1 exit status
Makefile:507: recipe for target 'python/caffe/_caffe.so' failed
make: *** [python/caffe/_caffe.so] Error 1
Steps to reproduce
Caffe was build without any errors Ran make all, make test and make runtest successfully. Makefile config has enabled cudn, cuda, opencv-3, python3.5
Tried solutions
Tried to make clean and make all. Install boost. Proper caffe and python paths are passed in ~/.bashrc.
System configuration
- Operating system: Ubuntu 16.04
- Compiler:
- CUDA version (if applicable): 9.0
- CUDNN version (if applicable): 7.1
- BLAS:
- Python version (if using pycaffe): 3.5
- MATLAB version (if using matcaffe):
https://github.com/BVLC/caffe/issues/4843#issue-182962618