pppsso 2021-10-14 10:37 采纳率: 0%
浏览 527

pyinstaller打包运行后报错Most probably this dynlib/dll was not found when the application was frozen

报错信息

Traceback (most recent call last):
  File "PyInstaller\loader\pyimod04_ctypes.py", line 77, in __init__
  File "ctypes\__init__.py", line 373, in __init__
FileNotFoundError: Could not find module 'C:\Users\NING MEI\Desktop\Reply\libs\cu_x64.dll' (or one of its dependencies). Try using the full path with constructor syntax.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "Reply.py", line 42, in <module>
  File "package\modules\Wks.py", line 186, in __init__
  File "PyInstaller\loader\pyimod04_ctypes.py", line 79, in __init__
pyimod04_ctypes.install.<locals>.PyInstallerImportError: Failed to load dynlib/dll 'C:\\Users\\NING MEI\\Desktop\\Reply\\libs\\cu_x64.dll'. Most probably this dynlib/dll was not found when the application was frozen.

libs下cu_x64.dll这个dll是存在的,不是所有电脑运行都报这个错误,有些电脑是能正常运行的,摸不着头脑

  • 写回答

2条回答 默认 最新

  • CSDN专家-黄老师 2021-10-14 11:45
    关注

    其他电脑应该没有C:\Users\NING MEI\Desktop\Reply\libs这个路径吧

    评论

报告相同问题?

问题事件

  • 创建了问题 10月14日

悬赏问题

  • ¥20 Ue4.26打包win64bit报错,如何解决?(语言-c++)
  • ¥100 解决数据不连续出现问题
  • ¥15 clousx6整点报时指令怎么写
  • ¥30 远程帮我安装软件及库文件
  • ¥15 关于#自动化#的问题:如何通过电脑控制多相机同步拍照或摄影(相机或者摄影模组数量大于60),并将所有采集的照片或视频以一定编码规则存放至规定电脑文件夹内
  • ¥20 深信服vpn-2050这台设备如何配置才能成功联网?
  • ¥15 Arduino的wifi连接,如何关闭低功耗模式?
  • ¥15 Android studio 无法定位adb是什么问题?
  • ¥15 C#连接不上服务器,
  • ¥15 angular项目错误