Paddle pyinstaller编译paddleocr项目,运行exe报错, Can not import avx core while this file exists:

wkftcu5l  于 2021-11-30  发布在  Java
关注(0)|答案(1)|浏览(706)
  • 版本、环境信息:

1)PaddlePaddle版本:2.0.2 cpu版本
2)CPU:5800h
3)GPU:核显
4)系统环境:win10、Python3.7

  • 安装方式信息:

1)pip安装

在pycharm中运行一切正常,编译成exe后运行报错,报错信息如下:

Error: Can not import avx core while this file exists: C:\Users**\AppData\Local\Temp_MEI125562\paddle\fluid\core_avx.pyd
Traceback (most recent call last):
File "darknet_nogui_mutimodel.py", line 59, in
import vin.utility as utility
File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
File "vin\utility.py", line 23, in
from paddle import inference
File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
File "paddle_init
.py", line 29, in
File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
File "paddle\fluid_init
.py", line 35, in
File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
File "paddle\fluid\framework.py", line 36, in
File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
File "paddle\fluid\core.py", line 289, in
File "paddle\fluid\core.py", line 254, in
ImportError: DLL load failed: 找不到指定的模块。
[17328] Failed to execute script darknet_nogui_mutimodel

sqougxex

sqougxex1#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

相关问题