{"action":"created","issue":{"url":"https://api.github.com/repos/tmbdev/ocropy/issues/308","repository_url":"https://api.github.com/repos/tmbdev/ocropy","labels_url":"https://api.github.com/repos/tmbdev/ocropy/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/tmbdev/ocropy/issues/308/comments","events_url":"https://api.github.com/repos/tmbdev/ocropy/issues/308/events","html_url":"https://github.com/tmbdev/ocropy/issues/308","id":325802224,"number":308,"title":"Installing on Mac OS El Capitan","user":{"login":"tim401","id":39383398,"avatar_url":"https://avatars1.githubusercontent.com/u/39383398?v=4","gravatar_id":"","url":"https://api.github.com/users/tim401","html_url":"https://github.com/tim401","followers_url":"https://api.github.com/users/tim401/followers","following_url":"https://api.github.com/users/tim401/following{/other_user}","gists_url":"https://api.github.com/users/tim401/gists{/gist_id}","starred_url":"https://api.github.com/users/tim401/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tim401/subscriptions","organizations_url":"https://api.github.com/users/tim401/orgs","repos_url":"https://api.github.com/users/tim401/repos","events_url":"https://api.github.com/users/tim401/events{/privacy}","received_events_url":"https://api.github.com/users/tim401/received_events","type":"User","site_admin":false},"labels":[{"id":553730369,"url":"https://api.github.com/repos/tmbdev/ocropy/labels/:computer:%20installation","name":":computer: installation","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-23T17:25:23Z","updated_at":"2018-05-24T17:21:05Z","closed_at":null,"author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Expected Behavior\r\n<!--- If you're describing a bug, tell us what should happen -->\r\n<!--- If you're suggesting a change/improvement, tell us how it should work -->\r\n\r\n## Current Behavior\r\nWhen installing on OS X El Capitan the installation fails because of the [System Integrity Protection (SIP)](https://support.apple.com/en-us/HT204899) with the following error:\r\n`changing mode of /usr/local/bin/ocropus-visualize-results to 755\r\nrunning install_data\r\ncreating /System/Library/Frameworks/Python.framework/Versions/2.7/share\r\nerror: could not create '/System/Library/Frameworks/Python.framework/Versions/2.7/share': Operation not permitted\r\n`\r\n\r\n<!--- If describing a bug, tell us what happens instead of the expected behavior -->\r\n<!--- Provide the full error output in a code block -->\r\n<!--- If suggesting a change/improvement, explain the difference from current behavior -->\r\n\r\n## Possible Solution\r\n<!--- Not obligatory, but suggest a fix/reason for the bug, -->\r\n<!--- or ideas how to implement the addition or change -->\r\nI could temporarily disable SIP, but that doesn't seem like a good idea. I tried temporarily removing sip from the needed files, but when booting into recovery mode they aren't even loaded and available to remove the restricted flag.\r\n\r\n[brew](https://brew.sh) is a possible solution, but there are no packages for matplotlib or lxml.\r\n\r\n## Steps to Reproduce (for bugs)\r\n<!--- Provide the input image(s) and list the commands you entered. -->\r\n1. Installed new clean copy of MacPorts and updated it\r\n2. sudo port install py27-scipy py27-matplotlib py27-lxml\r\n3. curl -O http://www.tmbdev.net/en-default.pyrnn.gz\r\n4. mv en-default.pyrnn.gz models/\r\n5. sudo python setup.py install\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n<!-- Run `python -V` -->\r\n* Python version:\r\nPython 2.7.10\r\n<!--- Run `git log -n1` in the ocropy directory -->\r\n* Git revision of ocropy: \r\nfatal: Not a git repository (or any of the parent directories): .git\r\nI downloaded the code with the last revision date Feb 19\r\n* Operating System and version:\r\nMac OS El Capitan 10.11"},"comment":{"url":"https://api.github.com/repos/tmbdev/ocropy/issues/comments/391793627","html_url":"https://github.com/tmbdev/ocropy/issues/308#issuecomment-391793627","issue_url":"https://api.github.com/repos/tmbdev/ocropy/issues/308","id":391793627,"user":{"login":"zuphilip","id":5199995,"avatar_url":"https://avatars0.githubusercontent.com/u/5199995?v=4","gravatar_id":"","url":"https://api.github.com/users/zuphilip","html_url":"https://github.com/zuphilip","followers_url":"https://api.github.com/users/zuphilip/followers","following_url":"https://api.github.com/users/zuphilip/following{/other_user}","gists_url":"https://api.github.com/users/zuphilip/gists{/gist_id}","starred_url":"https://api.github.com/users/zuphilip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuphilip/subscriptions","organizations_url":"https://api.github.com/users/zuphilip/orgs","repos_url":"https://api.github.com/users/zuphilip/repos","events_url":"https://api.github.com/users/zuphilip/events{/privacy}","received_events_url":"https://api.github.com/users/zuphilip/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T17:21:05Z","updated_at":"2018-05-24T17:21:05Z","author_association":"COLLABORATOR","body":"Okay, you need also the Python packages from `requirements.txt`. Install with\r\n```\r\npip install -r requirements.txt\r\n```\r\nor\r\n```\r\nconda install --file requirements.txt\r\n```"}}
{"actor":{"display_login":"zuphilip"}}