{"action":"created","issue":{"url":"https://api.github.com/repos/opencv/opencv/issues/7666","repository_url":"https://api.github.com/repos/opencv/opencv","labels_url":"https://api.github.com/repos/opencv/opencv/issues/7666/labels{/name}","comments_url":"https://api.github.com/repos/opencv/opencv/issues/7666/comments","events_url":"https://api.github.com/repos/opencv/opencv/issues/7666/events","html_url":"https://github.com/opencv/opencv/issues/7666","id":189011612,"number":7666,"title":"import cv2  raise importerror","user":{"login":"saicoco","id":7789012,"avatar_url":"https://avatars.githubusercontent.com/u/7789012?v=3","gravatar_id":"","url":"https://api.github.com/users/saicoco","html_url":"https://github.com/saicoco","followers_url":"https://api.github.com/users/saicoco/followers","following_url":"https://api.github.com/users/saicoco/following{/other_user}","gists_url":"https://api.github.com/users/saicoco/gists{/gist_id}","starred_url":"https://api.github.com/users/saicoco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saicoco/subscriptions","organizations_url":"https://api.github.com/users/saicoco/orgs","repos_url":"https://api.github.com/users/saicoco/repos","events_url":"https://api.github.com/users/saicoco/events{/privacy}","received_events_url":"https://api.github.com/users/saicoco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-14T01:36:29Z","updated_at":"2016-11-15T00:40:34Z","closed_at":null,"body":"##### System information (15.10)\r\n- OpenCV => 3.1\r\n- ubuntu 15.10\r\n- Compiler => gcc 4.7\r\n\r\n##### Detailed description  \r\nWhen I have compiled opencv3.1, and I use it with `caffe`, c++ API is okay, however, python's API will be raise error.  \r\n~~~\r\nIn [3]: import cv2\r\n---------------------------------------------------------------------------\r\nImportError                               Traceback (most recent call last)\r\n<ipython-input-3-72fbbcfe2587> in <module>()\r\n----> 1 import cv2\r\n\r\nImportError: /usr/lib/x86_64-linux-gnu/libgdk-3.so.0: undefined symbol: cairo_surface_get_device_scale\r\n\r\n~~~  \r\n\r\nJust Find the solution everywhere, however it's nothing"},"comment":{"url":"https://api.github.com/repos/opencv/opencv/issues/comments/260510920","html_url":"https://github.com/opencv/opencv/issues/7666#issuecomment-260510920","issue_url":"https://api.github.com/repos/opencv/opencv/issues/7666","id":260510920,"user":{"login":"Karim-92","id":8240223,"avatar_url":"https://avatars.githubusercontent.com/u/8240223?v=3","gravatar_id":"","url":"https://api.github.com/users/Karim-92","html_url":"https://github.com/Karim-92","followers_url":"https://api.github.com/users/Karim-92/followers","following_url":"https://api.github.com/users/Karim-92/following{/other_user}","gists_url":"https://api.github.com/users/Karim-92/gists{/gist_id}","starred_url":"https://api.github.com/users/Karim-92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Karim-92/subscriptions","organizations_url":"https://api.github.com/users/Karim-92/orgs","repos_url":"https://api.github.com/users/Karim-92/repos","events_url":"https://api.github.com/users/Karim-92/events{/privacy}","received_events_url":"https://api.github.com/users/Karim-92/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T00:40:34Z","updated_at":"2016-11-15T00:40:34Z","body":"I'm getting the same error but I'm not using it with Caffe, my system's running Ubuntu16.04 LTS and using Anaconda with python 2.7.12  & gcc 5.3.1. It's very frustrating indeed."}}
{"actor":{"display_login":"Karim-92"}}