{"action":"created","issue":{"url":"https://api.github.com/repos/JuanPotato/Legofy/issues/89","labels_url":"https://api.github.com/repos/JuanPotato/Legofy/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/JuanPotato/Legofy/issues/89/comments","events_url":"https://api.github.com/repos/JuanPotato/Legofy/issues/89/events","html_url":"https://github.com/JuanPotato/Legofy/issues/89","id":119172000,"number":89,"title":"Legofy wont work","user":{"login":"christoga","id":14870769,"avatar_url":"https://avatars.githubusercontent.com/u/14870769?v=3","gravatar_id":"","url":"https://api.github.com/users/christoga","html_url":"https://github.com/christoga","followers_url":"https://api.github.com/users/christoga/followers","following_url":"https://api.github.com/users/christoga/following{/other_user}","gists_url":"https://api.github.com/users/christoga/gists{/gist_id}","starred_url":"https://api.github.com/users/christoga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christoga/subscriptions","organizations_url":"https://api.github.com/users/christoga/orgs","repos_url":"https://api.github.com/users/christoga/repos","events_url":"https://api.github.com/users/christoga/events{/privacy}","received_events_url":"https://api.github.com/users/christoga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-27T10:28:10Z","updated_at":"2015-12-02T18:28:14Z","closed_at":null,"body":"I try to run setup.py but the system is ignoring me,\r\nPlease fix \r\n\r\nHere is my terminal : \r\n```\r\n$ python setup.py install\r\nrunning install\r\nChecking .pth file support in /Library/Python/2.7/site-packages/\r\nerror: can't create or remove files in install directory\r\n\r\nThe following error occurred while trying to add or remove files in the\r\ninstallation directory:\r\n\r\n    [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-31852.pth'\r\n\r\nThe installation directory you specified (via --install-dir, --prefix, or\r\nthe distutils default setting) was:\r\n\r\n    /Library/Python/2.7/site-packages/\r\n\r\nPerhaps your account does not have write access to this directory?  If the\r\ninstallation directory is a system-owned directory, you may need to sign in\r\nas the administrator or \"root\" account.  If you do not have administrative\r\naccess to this machine, you may wish to choose a different installation\r\ndirectory, preferably one that is listed in your PYTHONPATH environment\r\nvariable.\r\n\r\nFor information on other options, you may wish to consult the\r\ndocumentation at:\r\n\r\n  https://pythonhosted.org/setuptools/easy_install.html\r\n\r\nPlease make the appropriate changes for your system and try again.\r\n\r\n$ legofy\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/legofy\", 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 2793, 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 673, 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 576, in resolve\r\n    raise DistributionNotFound(req)\r\npkg_resources.DistributionNotFound: pillow\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JuanPotato/Legofy/issues/comments/161390326","html_url":"https://github.com/JuanPotato/Legofy/issues/89#issuecomment-161390326","issue_url":"https://api.github.com/repos/JuanPotato/Legofy/issues/89","id":161390326,"user":{"login":"louh","id":2553268,"avatar_url":"https://avatars.githubusercontent.com/u/2553268?v=3","gravatar_id":"","url":"https://api.github.com/users/louh","html_url":"https://github.com/louh","followers_url":"https://api.github.com/users/louh/followers","following_url":"https://api.github.com/users/louh/following{/other_user}","gists_url":"https://api.github.com/users/louh/gists{/gist_id}","starred_url":"https://api.github.com/users/louh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louh/subscriptions","organizations_url":"https://api.github.com/users/louh/orgs","repos_url":"https://api.github.com/users/louh/repos","events_url":"https://api.github.com/users/louh/events{/privacy}","received_events_url":"https://api.github.com/users/louh/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T18:28:13Z","updated_at":"2015-12-02T18:28:13Z","body":"I had the exact same situation (on Mac OSX, running Python 3). Installing Pillow first was the way to go. I followed the instructions here (http://pillow.readthedocs.org/en/3.0.x/installation.html#os-x-installation) to install dependencies via Homebrew and then Pillow.\r\n\r\nOne other note is that because I was on Python 3, and the command line for this is `python3` instead of `python`, so I also needed to run install script like so:\r\n\r\n```\r\npython3 setup.py install\r\n```"}}