【发布时间】:2016-06-22 07:06:35
【问题描述】:
我开发了一个基于 python openCV 的 OCR 系统并使用 py2exe 生成了一个 .exe 文件。 问题是它在多个 Windows 系统上显示错误消息。
错误信息:
Exception in Tkinter callback
Traceback <most recent call last>:
File "Tkinter.pyc", line 1536, in __call__
File "gui_tes3.py", line 89, in VerifyDocument
File "gui_test3.py", line 37, in OCR
File "pytesseract\pytesseract.pyc", line 94, in run_tesseract
File "pytesseract\pytesseract.pyc", line 161, in image_to_string
File "subprocess.pyc", line 710, in __init__
File "subprocess.pyc", line 958, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
任何形式的帮助都将受到高度赞赏....... 提前谢谢...
【问题讨论】:
-
您究竟是如何创建 .exe 以及在什么样的系统上创建的?
-
我在windows 7操作系统上使用python的py2exe模块创建了.exe文件.....使用的python版本是2.7
-
由于我的系统是x64位的,但是我在x86平台上开发了程序。
-
你有py2exe创建的所有文件和文件夹吗?
-
显然缺少一些东西。你得到的只有这条消息吗?
标签: python opencv tkinter ocr py2exe