BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
34.14k stars 18.68k forks source link

ImportError: caffe.so: undefined symbol: _ZN5caffe21PyErrReportAndForwardEv #6497

Open zhangfeng3304 opened 6 years ago

zhangfeng3304 commented 6 years ago

Hi Caffe users,

I have built caffe using:

make all make test make runtest make pycaffe

and everything runs smoothly, with 2 disabled tests.

However, error occurs when i try to import caffe in python console:

import caffe Traceback (most recent call last): File "", line 1, in File "/home/nvidia/Programs/Caffe/caffe/python/caffe/init.py", line 1, in from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, \ File "/home/nvidia/Programs/Caffe/caffe/python/caffe/pycaffe.py", line 13, in from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \ ImportError: /home/nvidia/Programs/Caffe/caffe/python/caffe/_caffe.so: undefined symbol: _ZN5caffe21PyErrReportAndForwardEv

what's the meaning of _ZN5caffe21PyErrReportAndForwardEv?

Noiredd commented 6 years ago

Please read the checklist in the issue template and complete your issue accordingly:

read the guidelines and remove the first paragraph write a short summary and detailed steps to reproduce explain how solutions to related problems failed (tick if found none) fill system configuration attach relevant logs/config files (tick if not applicable)

chenpengf0223 commented 5 years ago

@zhangfeng3304 Hi,I have the same error, did you fix it?