{"action":"created","issue":{"url":"https://api.github.com/repos/graphite-project/carbon/issues/546","repository_url":"https://api.github.com/repos/graphite-project/carbon","labels_url":"https://api.github.com/repos/graphite-project/carbon/issues/546/labels{/name}","comments_url":"https://api.github.com/repos/graphite-project/carbon/issues/546/comments","events_url":"https://api.github.com/repos/graphite-project/carbon/issues/546/events","html_url":"https://github.com/graphite-project/carbon/issues/546","id":151479761,"number":546,"title":"pip install of carbon 0.9.15 = total failure","user":{"login":"jblaine","id":438740,"avatar_url":"https://avatars.githubusercontent.com/u/438740?v=3","gravatar_id":"","url":"https://api.github.com/users/jblaine","html_url":"https://github.com/jblaine","followers_url":"https://api.github.com/users/jblaine/followers","following_url":"https://api.github.com/users/jblaine/following{/other_user}","gists_url":"https://api.github.com/users/jblaine/gists{/gist_id}","starred_url":"https://api.github.com/users/jblaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jblaine/subscriptions","organizations_url":"https://api.github.com/users/jblaine/orgs","repos_url":"https://api.github.com/users/jblaine/repos","events_url":"https://api.github.com/users/jblaine/events{/privacy}","received_events_url":"https://api.github.com/users/jblaine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-04-27T20:12:38Z","updated_at":"2017-01-12T18:06:04Z","closed_at":null,"body":"## This simple supported installation ...\n\n```\nrm -r /opt/graphite # ON A TEST HOST!\nvirtualenv /opt/graphite\nsource /opt/graphite/bin/activate\npip install carbon==0.9.15\n```\n## .. results in (from the same shell)...\n\n```\nbin/carbon-cache.py\nTraceback (most recent call last):\n  File \"/opt/graphite/bin/carbon-cache.py\", line 28, in <module>\n    from carbon.util import run_twistd_plugin\nImportError: No module named carbon.util\n```\n## ... because ...\n\n```\n(graphite) graphite:etc-metrics# ls lib64/python2.7/site-packages/opt/graphite/lib/\ncarbon  twisted\n(graphite) graphite:etc-metrics#\n```\n\nHighlighting the error above in bold: lib64/python2.7/site-packages**/opt/graphite/lib/**\n"},"comment":{"url":"https://api.github.com/repos/graphite-project/carbon/issues/comments/272236764","html_url":"https://github.com/graphite-project/carbon/issues/546#issuecomment-272236764","issue_url":"https://api.github.com/repos/graphite-project/carbon/issues/546","id":272236764,"user":{"login":"danmac-uk","id":7547419,"avatar_url":"https://avatars.githubusercontent.com/u/7547419?v=3","gravatar_id":"","url":"https://api.github.com/users/danmac-uk","html_url":"https://github.com/danmac-uk","followers_url":"https://api.github.com/users/danmac-uk/followers","following_url":"https://api.github.com/users/danmac-uk/following{/other_user}","gists_url":"https://api.github.com/users/danmac-uk/gists{/gist_id}","starred_url":"https://api.github.com/users/danmac-uk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmac-uk/subscriptions","organizations_url":"https://api.github.com/users/danmac-uk/orgs","repos_url":"https://api.github.com/users/danmac-uk/repos","events_url":"https://api.github.com/users/danmac-uk/events{/privacy}","received_events_url":"https://api.github.com/users/danmac-uk/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T18:06:04Z","updated_at":"2017-01-12T18:06:04Z","body":"Download and untar the pypi package, edit setup.cfg, comment out the top three lines, re-tar and install.\r\n\r\n```\r\nwget https://pypi.python.org/packages/66/ad/7c5fe8471676d45fd80a05c1b7282fb9273b3a3067d2087df8168718349f/carbon-0.9.15.tar.gz\r\ntar xvf carbon-0.9.15.tar.gz\r\nnano carbon-0.9.15/setup.cfg\r\n```\r\nEither clobber or comment with `#` the first three lines, which should be:\r\n```\r\n#[install]\r\n#prefix = /opt/graphite\r\n#install-lib = %(prefix)s/lib\r\n```\r\nThen:\r\n```\r\ntar cvaf carbon-0.9.15-fixed.tar.gz carbon-0.9.15\r\npip install carbon-0.9.15-fixed.tar.gz\r\n```\r\n\r\nI was surprised this package has apparently been broken for over a year - I thought it was something I was doing wrong, but no, the package is broken."}}
{"actor":{"display_login":"danmac-uk"}}