{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/310","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/310/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/310/events","html_url":"https://github.com/tensorflow/tensorflow/issues/310","id":118091205,"number":310,"title":"Fast python protocol buffers?","user":{"login":"skearnes","id":952729,"avatar_url":"https://avatars.githubusercontent.com/u/952729?v=3","gravatar_id":"","url":"https://api.github.com/users/skearnes","html_url":"https://github.com/skearnes","followers_url":"https://api.github.com/users/skearnes/followers","following_url":"https://api.github.com/users/skearnes/following{/other_user}","gists_url":"https://api.github.com/users/skearnes/gists{/gist_id}","starred_url":"https://api.github.com/users/skearnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skearnes/subscriptions","organizations_url":"https://api.github.com/users/skearnes/orgs","repos_url":"https://api.github.com/users/skearnes/repos","events_url":"https://api.github.com/users/skearnes/events{/privacy}","received_events_url":"https://api.github.com/users/skearnes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/installation/startup","name":"installation/startup","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"ebrevdo","id":1794715,"avatar_url":"https://avatars.githubusercontent.com/u/1794715?v=3","gravatar_id":"","url":"https://api.github.com/users/ebrevdo","html_url":"https://github.com/ebrevdo","followers_url":"https://api.github.com/users/ebrevdo/followers","following_url":"https://api.github.com/users/ebrevdo/following{/other_user}","gists_url":"https://api.github.com/users/ebrevdo/gists{/gist_id}","starred_url":"https://api.github.com/users/ebrevdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebrevdo/subscriptions","organizations_url":"https://api.github.com/users/ebrevdo/orgs","repos_url":"https://api.github.com/users/ebrevdo/repos","events_url":"https://api.github.com/users/ebrevdo/events{/privacy}","received_events_url":"https://api.github.com/users/ebrevdo/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-11-20T17:49:21Z","updated_at":"2015-12-11T14:47:36Z","closed_at":"2015-12-11T14:47:36Z","body":"This might be a better question for the protobuf team, but is there any way to get [fast python protocol buffers](https://developers.google.com/protocol-buffers/docs/reference/python-generated#cpp_impl) with TensorFlow? I have tried `bazel build --copt=-DPYTHON_PROTO2_CPP_IMPL_V2` but running with `PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION='cpp'` gives the following error:\r\n```python\r\nTraceback (most recent call last):\r\n  File \"/home/kearnes/git/tensorflow/bazel-bin/deaps/test.runfiles/deaps/test.py\", line 21, in <module>\r\n    import tensorflow as tf\r\n  File \"/home/kearnes/git/tensorflow/bazel-bin/deaps/test.runfiles/tensorflow/__init__.py\", line 8, in <module>\r\n    from tensorflow.python import *\r\n  File \"/home/kearnes/git/tensorflow/bazel-bin/deaps/test.runfiles/tensorflow/python/__init__.py\", line 24, in <module>\r\n    raise ImportError(msg)\r\nImportError: Error importing tensorflow: you should not try to import\r\n  tensorflow from its source directory; please exit the tensorflow source tree,\r\n  and relaunch your python interpreter from there.\r\n  Original ImportError: cannot import name _message\r\n```"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/163953116","html_url":"https://github.com/tensorflow/tensorflow/issues/310#issuecomment-163953116","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/310","id":163953116,"user":{"login":"skearnes","id":952729,"avatar_url":"https://avatars.githubusercontent.com/u/952729?v=3","gravatar_id":"","url":"https://api.github.com/users/skearnes","html_url":"https://github.com/skearnes","followers_url":"https://api.github.com/users/skearnes/followers","following_url":"https://api.github.com/users/skearnes/following{/other_user}","gists_url":"https://api.github.com/users/skearnes/gists{/gist_id}","starred_url":"https://api.github.com/users/skearnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skearnes/subscriptions","organizations_url":"https://api.github.com/users/skearnes/orgs","repos_url":"https://api.github.com/users/skearnes/repos","events_url":"https://api.github.com/users/skearnes/events{/privacy}","received_events_url":"https://api.github.com/users/skearnes/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T14:47:36Z","updated_at":"2015-12-11T14:47:36Z","body":"Protobuf version updated in https://github.com/tensorflow/tensorflow/commit/3116631f950a7de755c786fc954dc9cfb295d127."}}