嗨,我是运行pything 3.6的tensorflow的新手,并使用pip安装了tensorflow。我遇到了一个问题,当我在python中导入它会给我一个错误:
File "<stdin>", line 1, in <module>
File "C:\Users\Usman Ali\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 22, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\Usman Ali\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 52, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "C:\Users\Usman Ali\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in <module>
from google.protobuf import descriptor as _descriptor
File "C:\Users\Usman Ali\AppData\Local\Programs\Python\Python36\lib\site-packages\google\protobuf\descriptor.py", line 47, in <module>
from google.protobuf.pyext import _message
ImportError: DLL load failed: The specified procedure could not be found.
我研究发现了可能需要安装Visual C ++ Reditributable的解决方案,但我已重新安装它,但仍然出现相同的错误。任何解决此问题的方法。