Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

proto file #64

Open
antonysama opened this issue Aug 10, 2019 · 0 comments
Open

proto file #64

antonysama opened this issue Aug 10, 2019 · 0 comments

Comments

@antonysama
Copy link

antonysama commented Aug 10, 2019

The issue:
I have been trying to run the "import tensorflow" command in python. But, that runs into an error stating that the command "couldn't build proto file into descriptor pool."

The platform:
Python 3.6.8, 64 bit, on pyenv virtual environment. Ubuntu 18.10.
CUDA 9.1 CUDNN 7.1

Code:
`conda create -n tf-n-gpu # other versions tested were: 2.0.0.a, 1.14. & 1.15

conda activate tf-n-gpu

pip install tf-nightly-gpu --user

pip install tf-hub-nightly--user

pip install absl-py --user

python

import tensorflow `

ErrorType:
`Invalid proto descriptor for file "tensorboard/compat/proto/resource_handle.proto":

tensorboard.ResourceHandleProto.device: "tensorboard.ResourceHandleProto.device" is already defined in file "tensorboard/src/resource_handle.proto".
tensorboard.ResourceHandleProto.container: "tensorboard.ResourceHandleProto.container" is already defined in file "tensorboard/src/resource_handle.proto".
tensorboard.ResourceHandleProto.name: "tensorboard.ResourceHandleProto.name" is already defined in file "tensorboard/src/resource_handle.proto".
tensorboard.ResourceHandleProto.hash_code: "tensorboard.ResourceHandleProto.hash_code" is already defined in file "tensorboard/src/resource_handle.proto".
tensorboard.ResourceHandleProto.maybe_type_name: "tensorboard.ResourceHandleProto.maybe_type_name" is already defined in file "tensorboard/src/resource_handle.proto".
tensorboard.ResourceHandleProto: "tensorboard.ResourceHandleProto" is already defined in file "tensorboard/src/resource_handle.proto".`

Action already taken:

`pip uninstall protobuf

pip install protobuf==3.4.0 # other versions tested were: 3.5.1, and also pip install protobuf== no-binary protobuf protobuf

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant