使pycaffe错误

时间:2018-07-24 20:18:04

标签: python-3.x makefile caffe boost-python pycaffe

问题摘要

import caffe results in:
ImportError: No module named 'caffe._caffe'

我发现的解决方案是运行:     使pycaffe导致错误:

/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`

复制步骤

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 to make clean and make all. Install boost.
Proper caffe and python paths are passed in ~/.bashrc.

系统配置

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):

0 个答案:

没有答案