PaddlePaddle / PaddleOCR

Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
https://paddlepaddle.github.io/PaddleOCR/
Apache License 2.0
42.65k stars 7.67k forks source link

将PaddePaddle框架建立的mnist手写数字例程打包成exe,执行过程中有问题 #4709

Closed gaogaoandduidui closed 2 years ago

gaogaoandduidui commented 2 years ago

image Traceback (most recent call last): File "15CNN.py", line 2, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "paddle__init.py", line 25, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "paddle\fluid\init__.py", line 36, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "paddle\fluid\framework.py", line 37, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "paddle\fluid\core.py", line 68, in File "paddle\fluid\core.py", line 49, in File "os.py", line 1109, in add_dll_directory FileNotFoundError: [WinError 2] 系统找不到指定的文件。: 'C:\Users\15949\AppData\Local\Temp\_MEI79722\paddle\fluid\..\libs' [25444] Failed to execute script '15CNN' due to unhandled exception!

这是怎么回事啊

littletomatodonkey commented 2 years ago

这个不太清楚具体的使用环境,可以描述的再清楚一些看下,可以先试下使用英文路径,另外把paddle的路径添加到系统环境变量中试下

paddle-bot-old[bot] commented 2 years ago

Since you haven\'t replied for more than 3 months, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. It is recommended to pull and try the latest code first. 由于您超过三个月未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开(建议先拉取最新代码进行尝试),我们会继续跟进。