{"action":"created","issue":{"url":"https://api.github.com/repos/donnemartin/saws/issues/15","labels_url":"https://api.github.com/repos/donnemartin/saws/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/donnemartin/saws/issues/15/comments","events_url":"https://api.github.com/repos/donnemartin/saws/issues/15/events","html_url":"https://github.com/donnemartin/saws/issues/15","id":107550379,"number":15,"title":"Error after installing on Mac","user":{"login":"TravelingTechGuy","id":492322,"avatar_url":"https://avatars.githubusercontent.com/u/492322?v=3","gravatar_id":"","url":"https://api.github.com/users/TravelingTechGuy","html_url":"https://github.com/TravelingTechGuy","followers_url":"https://api.github.com/users/TravelingTechGuy/followers","following_url":"https://api.github.com/users/TravelingTechGuy/following{/other_user}","gists_url":"https://api.github.com/users/TravelingTechGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/TravelingTechGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TravelingTechGuy/subscriptions","organizations_url":"https://api.github.com/users/TravelingTechGuy/orgs","repos_url":"https://api.github.com/users/TravelingTechGuy/repos","events_url":"https://api.github.com/users/TravelingTechGuy/events{/privacy}","received_events_url":"https://api.github.com/users/TravelingTechGuy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T16:33:31Z","updated_at":"2015-09-21T16:50:08Z","closed_at":null,"body":"Installed using `sudo -H pip install saws`, after seeing this comment:\r\n\r\n```\r\nThe directory '/Users/user/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\r\n```\r\n\r\nRunning `saws` now yields this error:\r\n\r\n```\r\n$ saws\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/saws\", line 5, in <module>\r\n    from pkg_resources import load_entry_point\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py\", line 2603, in <module>\r\n    working_set.require(__requires__)\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py\", line 666, in require\r\n    needed = self.resolve(parse_requirements(requirements))\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py\", line 565, in resolve\r\n    raise DistributionNotFound(req)  # XXX put more info here\r\npkg_resources.DistributionNotFound: pygments>=2.0.2\r\n```\r\n\r\nMac OS 10.9.5, Python 2.7.5"},"comment":{"url":"https://api.github.com/repos/donnemartin/saws/issues/comments/142040414","html_url":"https://github.com/donnemartin/saws/issues/15#issuecomment-142040414","issue_url":"https://api.github.com/repos/donnemartin/saws/issues/15","id":142040414,"user":{"login":"donnemartin","id":5458997,"avatar_url":"https://avatars.githubusercontent.com/u/5458997?v=3","gravatar_id":"","url":"https://api.github.com/users/donnemartin","html_url":"https://github.com/donnemartin","followers_url":"https://api.github.com/users/donnemartin/followers","following_url":"https://api.github.com/users/donnemartin/following{/other_user}","gists_url":"https://api.github.com/users/donnemartin/gists{/gist_id}","starred_url":"https://api.github.com/users/donnemartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donnemartin/subscriptions","organizations_url":"https://api.github.com/users/donnemartin/orgs","repos_url":"https://api.github.com/users/donnemartin/repos","events_url":"https://api.github.com/users/donnemartin/events{/privacy}","received_events_url":"https://api.github.com/users/donnemartin/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T16:50:08Z","updated_at":"2015-09-21T16:50:08Z","body":"Guy, \r\n\r\nIt sounds like a permissions issue and you've already tried the `sudo -H` approach.  Have you tried this as well?\r\n\r\nhttp://stackoverflow.com/a/27871374\r\n\r\nIt seems like it's not able to download `pygments` 2.0.2.  Curious what happens if you try\r\n\r\n$ pip install pygments\r\n\r\nIn any case, I highly recommend using virtualenv or virtualenvwrapper.  Here's a handy guide:\r\n\r\nhttp://docs.python-guide.org/en/latest/dev/virtualenvs/\r\n\r\n-Donne"}}