Home > Back-end >  Small white for help! Import in pycharm tensorflow has been wrong, for solve it
Small white for help! Import in pycharm tensorflow has been wrong, for solve it

Time:10-08

Traceback (the most recent call last) :
The File "D:/jua1/SSD. Py", line 1, the in & lt; module>
The import tensorflow as tf
The File "C: \ Users \ \ Anaconda3 \ envs 94420 \ tensorflow \ lib \ site - packages \ tensorflow \ set py", line 24, in & lt; module>
The from tensorflow. Python import *
The File "C: \ Users \ \ Anaconda3 \ envs 94420 \ tensorflow \ lib \ site - packages \ tensorflow \ python \ set py", line 52, in & lt; module>
The from tensorflow. Core. Framework. Graph_pb2 import *
The File "C: \ Users \ \ Anaconda3 \ envs 94420 \ tensorflow \ lib \ site - packages \ tensorflow \ core \ framework \ graph_pb2 py", line 9, the in & lt; module>
The from Google. Protobuf import symbol_database as _symbol_database
The File "C: \ Users \ \ Anaconda3 \ envs 94420 \ tensorflow \ lib \ site - packages \ \ protobuf \ symbol_database Google py", line 165, in & lt; module>
_DEFAULT=SymbolDatabase (pool=descriptor_pool. Default ())
AttributeError: module 'Google. Protobuf. Descriptor_pool' has no attribute 'Default'

CodePudding user response:

Are you sure this tensorflow exist, your environment set up for it
  • Related