You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
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'
The text was updated successfully, but these errors were encountered: