Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name 'builder' from 'google.protobuf.internal' #3

Open
madhumnk opened this issue Mar 9, 2023 · 0 comments
Open

cannot import name 'builder' from 'google.protobuf.internal' #3

madhumnk opened this issue Mar 9, 2023 · 0 comments

Comments

@madhumnk
Copy link

madhumnk commented Mar 9, 2023

while running this code
import tensorflow as tf
import os

GETTING THE FOLLOWING ERROR

ImportError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_12388\510189925.py in
----> 1 import tensorflow as tf
2 import os

~\AppData\Roaming\Python\Python39\site-packages\tensorflow_init_.py in
36 import typing as _typing
37
---> 38 from tensorflow.python.tools import module_util as _module_util
39 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader
40

~\AppData\Roaming\Python\Python39\site-packages\tensorflow\python_init_.py in
35
36 from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
---> 37 from tensorflow.python.eager import context
38
39 # pylint: enable=wildcard-import

~\AppData\Roaming\Python\Python39\site-packages\tensorflow\python\eager\context.py in
26 import numpy as np
27
---> 28 from tensorflow.core.framework import function_pb2
29 from tensorflow.core.protobuf import config_pb2
30 from tensorflow.core.protobuf import rewriter_config_pb2

~\AppData\Roaming\Python\Python39\site-packages\tensorflow\core\framework\function_pb2.py in
3 # source: tensorflow/core/framework/function.proto
4 """Generated protocol buffer code."""
----> 5 from google.protobuf.internal import builder as _builder
6 from google.protobuf import descriptor as _descriptor
7 from google.protobuf import descriptor_pool as _descriptor_pool

ImportError: cannot import name 'builder' from 'google.protobuf.internal'

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

No branches or pull requests

1 participant