python - 没有名为 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'
解决方案
推荐阅读
- wordpress - 制作自定义类型的帖子
- excel - 添加/删除行而不使用通常的复制粘贴方法
- javascript - 使用永久地址让我的树莓派在线直播
- java - 为什么这些循环和散列操作需要 O(N) 时间复杂度?
- typescript - 可以通过接收到的构造函数参数动态地计算类属性吗?
- python - 以不同的方式为图像的各个部分着色
- python - 屏幕截图程序在截图后留下正方形
- apache-kafka - Flink 中的 StreamExecutionEnvironment 和 StreamTableEnvironment 有什么区别
- loops - 我需要使用循环使 4 个正方形垂直移动
- python - 将文件上传到 Django Admin,对其进行处理,然后交付到模板