caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Error while executing python files

Open crazymuse opened this issue 12 years ago • 1 comments

Traceback (most recent call last): File "classify.py", line 14, in import caffe File "/home/jayasimha/caffe/python/caffe/init.py", line 1, in from .pycaffe import Net, SGDSolver File "/home/jayasimha/caffe/python/caffe/pycaffe.py", line 10, in from ._caffe import Net, SGDSolver ImportError: /home/jayasimha/caffe/python/caffe/_caffe.so: undefined symbol: _ZN6gflags21ParseCommandLineFlagsEPiPPPcb

Error while trying to running draw_net.py, problem is persistant for other files too . . .

I do have _caffe.so in /caffe/python/caffe folder, I have declared environment variable PYTHONPATH, with value the location of library also tried make pycaffe, and make distribute, but seems like no help. I don't know how to debug the problem further.

crazymuse avatar Sep 17 '14 13:09 crazymuse

Seems that is a problem related to gflags. Please all questions about usage, installation, code, and applications should be searched for and asked on the caffe-users mailing list.

bhack avatar Sep 17 '14 13:09 bhack