{"action":"created","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/3655","repository_url":"https://api.github.com/repos/BVLC/caffe","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/3655/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/3655/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/3655/events","html_url":"https://github.com/BVLC/caffe/issues/3655","id":132501392,"number":3655,"title":"Reason: image not found","user":{"login":"datomnurdin","id":5416242,"avatar_url":"https://avatars.githubusercontent.com/u/5416242?v=3","gravatar_id":"","url":"https://api.github.com/users/datomnurdin","html_url":"https://github.com/datomnurdin","followers_url":"https://api.github.com/users/datomnurdin/followers","following_url":"https://api.github.com/users/datomnurdin/following{/other_user}","gists_url":"https://api.github.com/users/datomnurdin/gists{/gist_id}","starred_url":"https://api.github.com/users/datomnurdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datomnurdin/subscriptions","organizations_url":"https://api.github.com/users/datomnurdin/orgs","repos_url":"https://api.github.com/users/datomnurdin/repos","events_url":"https://api.github.com/users/datomnurdin/events{/privacy}","received_events_url":"https://api.github.com/users/datomnurdin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-09T18:58:29Z","updated_at":"2016-02-09T23:19:16Z","closed_at":"2016-02-09T23:19:16Z","body":"I got this kind of error message\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"python-caffe.py\", line 4, in <module>\r\n    import caffe\r\n  File \"/Applications/caffe/python/caffe/__init__.py\", line 1, in <module>\r\n    from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver\r\n  File \"/Applications/caffe/python/caffe/pycaffe.py\", line 13, in <module>\r\n    from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \\\r\nImportError: dlopen(/Applications/caffe/python/caffe/_caffe.so, 2): Library not loaded: /usr/local/opt/boost/lib/libboost_system.dylib\r\n  Referenced from: /Applications/caffe/python/caffe/_caffe.so\r\n  Reason: image not found\r\n```\r\n\r\nSource code\r\n```\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\nfrom PIL import Image\r\nimport caffe\r\n\r\ncaffe.set_mode_cpu()\r\n\r\nnet = caffe.Net('conv.prototxt', caffe.TEST)\r\n\r\nim = np.array(Image.open('/ComputerVision/cat_gray.jpg'))\r\nim_input = im[np.newaxis, np.newaxis, :, :]\r\nnet.blobs['data'].reshape(*im_input.shape)\r\nnet.blobs['data'].data[...] = im_input\r\n\r\nnet.forward()\r\n\r\nnet.save('mymodel.caffemodel')\r\n```\r\n\r\nPlease advice. Thank you.\r\n"},"comment":{"url":"https://api.github.com/repos/BVLC/caffe/issues/comments/182129708","html_url":"https://github.com/BVLC/caffe/issues/3655#issuecomment-182129708","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/3655","id":182129708,"user":{"login":"seanbell","id":1844189,"avatar_url":"https://avatars.githubusercontent.com/u/1844189?v=3","gravatar_id":"","url":"https://api.github.com/users/seanbell","html_url":"https://github.com/seanbell","followers_url":"https://api.github.com/users/seanbell/followers","following_url":"https://api.github.com/users/seanbell/following{/other_user}","gists_url":"https://api.github.com/users/seanbell/gists{/gist_id}","starred_url":"https://api.github.com/users/seanbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanbell/subscriptions","organizations_url":"https://api.github.com/users/seanbell/orgs","repos_url":"https://api.github.com/users/seanbell/repos","events_url":"https://api.github.com/users/seanbell/events{/privacy}","received_events_url":"https://api.github.com/users/seanbell/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T23:19:16Z","updated_at":"2016-02-09T23:19:16Z","body":"This is the important line: `Library not loaded: /usr/local/opt/boost/lib/libboost_system.dylib`.  Boost is not linked properly.\r\n\r\nI'm closing the issue since this is a request for help with installation -- please use the mailing list.\r\n\r\nFrom https://raw.githubusercontent.com/BVLC/caffe/master/CONTRIBUTING.md:\r\n> _Please do not post usage, installation, or modeling questions, or other requests for help to Issues._\r\nUse the [caffe-users list](https://groups.google.com/forum/#!forum/caffe-users) instead. This helps developers maintain a clear, uncluttered, and efficient view of the state of Caffe."}}