{"action":"created","issue":{"url":"https://api.github.com/repos/google/protobuf/issues/882","labels_url":"https://api.github.com/repos/google/protobuf/issues/882/labels{/name}","comments_url":"https://api.github.com/repos/google/protobuf/issues/882/comments","events_url":"https://api.github.com/repos/google/protobuf/issues/882/events","html_url":"https://github.com/google/protobuf/issues/882","id":111409852,"number":882,"title":"Python 3 SyntaxError","user":{"login":"dvenza","id":5452054,"avatar_url":"https://avatars.githubusercontent.com/u/5452054?v=3","gravatar_id":"","url":"https://api.github.com/users/dvenza","html_url":"https://github.com/dvenza","followers_url":"https://api.github.com/users/dvenza/followers","following_url":"https://api.github.com/users/dvenza/following{/other_user}","gists_url":"https://api.github.com/users/dvenza/gists{/gist_id}","starred_url":"https://api.github.com/users/dvenza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvenza/subscriptions","organizations_url":"https://api.github.com/users/dvenza/orgs","repos_url":"https://api.github.com/users/dvenza/repos","events_url":"https://api.github.com/users/dvenza/events{/privacy}","received_events_url":"https://api.github.com/users/dvenza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"haberman","id":1270,"avatar_url":"https://avatars.githubusercontent.com/u/1270?v=3","gravatar_id":"","url":"https://api.github.com/users/haberman","html_url":"https://github.com/haberman","followers_url":"https://api.github.com/users/haberman/followers","following_url":"https://api.github.com/users/haberman/following{/other_user}","gists_url":"https://api.github.com/users/haberman/gists{/gist_id}","starred_url":"https://api.github.com/users/haberman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haberman/subscriptions","organizations_url":"https://api.github.com/users/haberman/orgs","repos_url":"https://api.github.com/users/haberman/repos","events_url":"https://api.github.com/users/haberman/events{/privacy}","received_events_url":"https://api.github.com/users/haberman/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-10-14T14:25:16Z","updated_at":"2016-01-08T21:47:25Z","closed_at":null,"body":"After doing a `pip3 install protobuf`, when I try to use the package I get this SyntaxError:\r\n\r\n    File \"/usr/local/lib/python3.4/dist-packages/google/protobuf/reflection.py\", line 68, in <module>\r\n        from google.protobuf.internal import python_message\r\n    File \"/usr/local/lib/python3.4/dist-packages/google/protobuf/internal/python_message.py\", line 848\r\n        except struct.error, e:\r\n\r\nWhy there is a package for python3, if python3 is not supported?"},"comment":{"url":"https://api.github.com/repos/google/protobuf/issues/comments/170137167","html_url":"https://github.com/google/protobuf/issues/882#issuecomment-170137167","issue_url":"https://api.github.com/repos/google/protobuf/issues/882","id":170137167,"user":{"login":"nmoadev","id":5875589,"avatar_url":"https://avatars.githubusercontent.com/u/5875589?v=3","gravatar_id":"","url":"https://api.github.com/users/nmoadev","html_url":"https://github.com/nmoadev","followers_url":"https://api.github.com/users/nmoadev/followers","following_url":"https://api.github.com/users/nmoadev/following{/other_user}","gists_url":"https://api.github.com/users/nmoadev/gists{/gist_id}","starred_url":"https://api.github.com/users/nmoadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmoadev/subscriptions","organizations_url":"https://api.github.com/users/nmoadev/orgs","repos_url":"https://api.github.com/users/nmoadev/repos","events_url":"https://api.github.com/users/nmoadev/events{/privacy}","received_events_url":"https://api.github.com/users/nmoadev/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T21:47:24Z","updated_at":"2016-01-08T21:47:24Z","body":"This issue happens for me too. Simple test is to confirm is just to run a compiled protocol buffer python file directly. Same syntax error occurs. Pip freeze shows 'protobuf==2.6.1'"}}