import tensorflow
当我尝试导入 tensorflow 并运行代码时,出现此错误:
Traceback (most recent call last):
File "C:/Users/Ivan/PycharmProjects/AI_Numers/script.py", line 1, in <module>
import tensorflow
File "C:\Users\Ivan\PycharmProjects\AI_Numers\venv\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\Ivan\PycharmProjects\AI_Numers\venv\lib\site-packages\tensorflow\python\__init__.py", line 59, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "C:\Users\Ivan\PycharmProjects\AI_Numers\venv\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in <module>
from google.protobuf import descriptor as _descriptor
File "C:\Users\Ivan\PycharmProjects\AI_Numers\venv\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.`
我目前正在使用:Python:3.6.0 Tensorflow:1.12
我已经看过这个线程,但我无法解决我的问题。
莫回无
炎炎设计
相关分类