首页 > 解决方案 > 没有名为 tensorflow.python Windows 10 的模块

问题描述

我正在尝试使用Tensorflow进行图像识别,但我不断收到此错误:

Traceback (most recent call last):
  File "classify_image.py", line 46, in <module>
    import tensorflow as tf
  File "C:\Users\Diederik\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
ModuleNotFoundError: No module named 'tensorflow.python'

标签: pythontensorflowwindows-10artificial-intelligenceimage-recognition

解决方案


推荐阅读