FS#54646 - [python-tensorflow-cuda] Error when importing tensorflow
Attached to Project:
Community Packages
Opened by Dario Ostuni (dariost) - Friday, 30 June 2017, 12:29 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 11 July 2017, 22:25 GMT
Opened by Dario Ostuni (dariost) - Friday, 30 June 2017, 12:29 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 11 July 2017, 22:25 GMT
|
Details
Description:
When trying to import tensorflow this happens: >>> import tensorflow Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.6/site-packages/tensorflow/__init__.py", line 24, in <module> from tensorflow.python import * File "/usr/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 52, in <module> from tensorflow.core.framework.graph_pb2 import * File "/usr/lib/python3.6/site-packages/tensorflow/core/framework/graph_pb2.py", line 10, in <module> from google.protobuf import descriptor_pb2 File "/usr/lib/python3.6/site-packages/google/protobuf/descriptor_pb2.py", line 238, in <module> serialized_end=4762, File "/usr/lib/python3.6/site-packages/google/protobuf/descriptor.py", line 599, in __new__ return _message.default_pool.FindEnumTypeByName(full_name) KeyError: "Couldn't find enum google.protobuf.MethodOptions.IdempotencyLevel" Additional info: python-tensorflow-cuda 1.2.1-1 python-protobuf 3.3.1-1 Steps to reproduce: Open python3 and type "import tensorflow" |
This task depends upon
Have you tried to reinstall python-protobuf?