{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/annoy/issues/90","labels_url":"https://api.github.com/repos/spotify/annoy/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/spotify/annoy/issues/90/comments","events_url":"https://api.github.com/repos/spotify/annoy/issues/90/events","html_url":"https://github.com/spotify/annoy/issues/90","id":97476938,"number":90,"title":"can't install with Python3","user":{"login":"Horace89","id":1771660,"avatar_url":"https://avatars.githubusercontent.com/u/1771660?v=3","gravatar_id":"","url":"https://api.github.com/users/Horace89","html_url":"https://github.com/Horace89","followers_url":"https://api.github.com/users/Horace89/followers","following_url":"https://api.github.com/users/Horace89/following{/other_user}","gists_url":"https://api.github.com/users/Horace89/gists{/gist_id}","starred_url":"https://api.github.com/users/Horace89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Horace89/subscriptions","organizations_url":"https://api.github.com/users/Horace89/orgs","repos_url":"https://api.github.com/users/Horace89/repos","events_url":"https://api.github.com/users/Horace89/events{/privacy}","received_events_url":"https://api.github.com/users/Horace89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T14:30:18Z","updated_at":"2015-07-27T16:03:44Z","closed_at":null,"body":"Hi. Newbie to Github here. Thanks for this wonderful piece of software.\r\n\r\nI think I've a small bug in the install with Python 3:\r\n```\r\n(annoy)horace89@horace89:~/tst1/annoy$ python -V\r\nPython 3.4.0\r\n(annoy)horace89@horace89:~/tst1/annoy$ pip install annoy              \r\nCollecting annoy\r\n  Using cached annoy-1.4.1.tar.gz\r\n    Complete output from command python setup.py egg_info:\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 20, in <module>\r\n      File \"/tmp/pip-build-ygnacgga/annoy/setup.py\", line 34, in <module>\r\n        long_description = readme_note + fobj.read()\r\n      File \"/home/horace89/.virtualenvs/annoy/lib/python3.4/encodings/ascii.py\", line 26, in decode\r\n        return codecs.ascii_decode(input, self.errors)[0]\r\n    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3767: ordinal not in range(128)\r\n```\r\n\r\nIf I build a virtualenv with Python2.7, the error disappears and the build is ok.\r\nIf I use a virtualenv with Python3.4 and if I edit the setup.py file with (I comment out fobj.read()) :\r\n```with open('README.rst') as fobj:\r\nlong_description = readme_note #+ fobj.read()```\r\n, the error disappears and the build is ok.\r\nSo I think, there's an issue with the utf-8 encoding."},"comment":{"url":"https://api.github.com/repos/spotify/annoy/issues/comments/125256131","html_url":"https://github.com/spotify/annoy/issues/90#issuecomment-125256131","issue_url":"https://api.github.com/repos/spotify/annoy/issues/90","id":125256131,"user":{"login":"Horace89","id":1771660,"avatar_url":"https://avatars.githubusercontent.com/u/1771660?v=3","gravatar_id":"","url":"https://api.github.com/users/Horace89","html_url":"https://github.com/Horace89","followers_url":"https://api.github.com/users/Horace89/followers","following_url":"https://api.github.com/users/Horace89/following{/other_user}","gists_url":"https://api.github.com/users/Horace89/gists{/gist_id}","starred_url":"https://api.github.com/users/Horace89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Horace89/subscriptions","organizations_url":"https://api.github.com/users/Horace89/orgs","repos_url":"https://api.github.com/users/Horace89/repos","events_url":"https://api.github.com/users/Horace89/events{/privacy}","received_events_url":"https://api.github.com/users/Horace89/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T16:03:44Z","updated_at":"2015-07-27T16:03:44Z","body":"No problem. I just wanted to inform you."}}