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

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日