七月的風鈴 2019-05-26 21:27 采纳率: 0%
浏览 590

手写体识别激活总是报错是因为什么?

报错信息:
D:\Python\anaconda\Anaconda3\python.exe "D:\Python\pycharm\PyCharm 2018.1.3\helpers\pydev\pydev_run_in_console.py" 57587 57588 D:/untitled/MNIST.py
D:\Python\anaconda\Anaconda3\lib\site-packages\IPython\core\history.py:226: UserWarning: IPython History requires SQLite, your history will not be saved
warn("IPython History requires SQLite, your history will not be saved")
Running D:/untitled/MNIST.py
Traceback (most recent call last):
File "D:\Python\pycharm\PyCharm 2018.1.3\helpers\pydev\pydev_run_in_console.py", line 52, in run_file
pydev_imports.execfile(file, globals, locals) # execute the script
File "D:\Python\pycharm\PyCharm 2018.1.3\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:/untitled/MNIST.py", line 3, in
from tensorflow.examples.tutorials.mnist import input_data
File "D:\Python\pycharm\PyCharm 2018.1.3\helpers\pydev_pydev_bundle\pydev_import_hook.py", line 19, in do_import
module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'tensorflow'
import sys; print('Python %s on %s' % (sys.version, sys.platform))
sys.path.extend(['D:\untitled', 'D:/untitled'])
Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.2.0 -- An enhanced Interactive Python. Type '?' for help.
PyDev console: using IPython 7.2.0
Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)] on win32

  • 写回答

1条回答 默认 最新

  • threenewbee 2019-05-26 23:47
    关注

    ModuleNotFoundError: No module named 'tensorflow'
    说明你tensorflow没有安装对,用pip install安装下。

    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器