pls help me " $python $impoort caffe"
i use python3.6 ,and passed the sudo make pycaffe ,but when i import caffe in python ,i got mistakes like
zlj@zlj-virtual-machine:~/caffe$ python Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.
import caffe Traceback (most recent call last): File "
", line 1, in File "/home/zlj/caffe/python/caffe/init.py", line 1, in from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer File "/home/zlj/caffe/python/caffe/pycaffe.py", line 13, in from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver,
ImportError: /home/zlj/caffe/python/caffe/_caffe.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE
what should i do thanks!
Could try: Makefile.config Uncomment to support layers written in Python (will link against Python libs) WITH_PYTHON_LAYER := 1
Hi kylezlj have you fixed this? I got the same issue...