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

proto file  #64

@antonysama

Description

@antonysama

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions