{"action":"created","issue":{"url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/277","labels_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/277/comments","events_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/277/events","html_url":"https://github.com/Kozea/WeasyPrint/issues/277","id":115133060,"number":277,"title":"Weasyprint startup error after updating to El Capitan (OS X 10.11)","user":{"login":"SirNeuman","id":6912634,"avatar_url":"https://avatars.githubusercontent.com/u/6912634?v=3","gravatar_id":"","url":"https://api.github.com/users/SirNeuman","html_url":"https://github.com/SirNeuman","followers_url":"https://api.github.com/users/SirNeuman/followers","following_url":"https://api.github.com/users/SirNeuman/following{/other_user}","gists_url":"https://api.github.com/users/SirNeuman/gists{/gist_id}","starred_url":"https://api.github.com/users/SirNeuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirNeuman/subscriptions","organizations_url":"https://api.github.com/users/SirNeuman/orgs","repos_url":"https://api.github.com/users/SirNeuman/repos","events_url":"https://api.github.com/users/SirNeuman/events{/privacy}","received_events_url":"https://api.github.com/users/SirNeuman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-04T19:50:30Z","updated_at":"2015-11-05T15:55:59Z","closed_at":null,"body":"I recently updated my OS on my mac to El Capitan and since then have been running into issues trying to run WeasyPrint. I have updated macports, uninstalled and reinstalled all of the macport dependencies. I've also uninstalled and reinstalled WeasyPrint via pip with no issues, but still it doesn't run. I also have the `export DYLD_FALLBACK_LIBRARY_PATH=\"/opt/local/lib\"` in my ~/.profile which helped solve the import errors and allowed WeasyPrint to run before I had El Capitan installed. \r\nWhen i type `weasyprint --help` into the terminal i get the following output/error:\r\n\r\n\r\n\r\n     File \"main.py\", line 14, in <module>\r\n        import nextline_webapp.quotes\t\t\t\t\t# pylint: disable=unused-import\r\n      File \"/Users/joshsacks/NextLine/nextline_webapp/quotes.py\", line 8, in <module>\r\n        from flask_weasyprint import HTML, render_pdf\r\n      File \"/Library/Python/2.7/site-packages/flask_weasyprint/__init__.py\", line 13, in <module>\r\n        import weasyprint\r\n      File \"/Library/Python/2.7/site-packages/weasyprint/__init__.py\", line 336, in <module>\r\n        from .css import PARSER, preprocess_stylesheet\r\n      File \"/Library/Python/2.7/site-packages/weasyprint/css/__init__.py\", line 30, in <module>\r\n        from . import computed_values\r\n      File \"/Library/Python/2.7/site-packages/weasyprint/css/computed_values.py\", line 18, in <module>\r\n        from .. import text\r\n      File \"/Library/Python/2.7/site-packages/weasyprint/text.py\", line 18, in <module>\r\n        import cairocffi as cairo\r\n      File \"/Library/Python/2.7/site-packages/cairocffi/__init__.py\", line 46, in <module>\r\n        cairo = dlopen(ffi, 'cairo', 'cairo-2')\r\n      File \"/Library/Python/2.7/site-packages/cairocffi/__init__.py\", line 43, in dlopen\r\n        raise OSError(\"dlopen() failed to load a library: %s\" % ' / '.join(names))\r\n    OSError: dlopen() failed to load a library: cairo / cairo-2\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/comments/154101299","html_url":"https://github.com/Kozea/WeasyPrint/issues/277#issuecomment-154101299","issue_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/277","id":154101299,"user":{"login":"SimonSapin","id":291359,"avatar_url":"https://avatars.githubusercontent.com/u/291359?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T15:55:59Z","updated_at":"2015-11-05T15:55:59Z","body":"“Disable that security feature of your OS to use WeasyPrint” doesn’t sound great :/"}}