From 818ae9f5ee68150572ac721c1adc30afb5a497bd Mon Sep 17 00:00:00 2001 From: Nick Felt Date: Mon, 25 Feb 2019 09:10:40 -0800 Subject: [PATCH] stop setting PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION env var (#1887) --- tensorboard/main.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tensorboard/main.py b/tensorboard/main.py index 0ab309eb3c..35c6c97752 100644 --- a/tensorboard/main.py +++ b/tensorboard/main.py @@ -33,11 +33,6 @@ # https://github.com/tensorflow/tensorboard/issues/1225 # This must be set before the first import of tensorflow. os.environ['GCS_READ_CACHE_DISABLED'] = '1' - -# Use fast C++ implementation of Python protocol buffers. See: -# https://github.com/protocolbuffers/protobuf/blob/v3.6.0/python/google/protobuf/pyext/README -os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'cpp' -os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION'] = '2' # pylint: enable=g-import-not-at-top import sys