将py转换为exe时遇到麻烦-dll失败

时间:2020-03-22 18:00:40

标签: python

我想将我的.py文件转换为.exe并使用“ auto-py-to-exe”。 在控制台和pycharm中,.py文件工作正常,但是当我将其转换时,出现此错误:

Traceback (most recent call last):
  File "ShvetzgameForX.py", line 11, in <module>
  File "C:\Users\lidor\AppData\Local\Programs\Python\Python38-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\ffpyplayer\player\__init__.py", line 10, in <module>
ImportError: DLL load failed while importing player: The specified module could not be found.

我不知道该怎么办。我试图复制dll文件并将其粘贴到输出文件夹中,但似乎不起作用。 在图片here中,您可以看到(右侧)我叫ffpyplayer.player,在左侧-我尝试通过cmd打开.exe文件(以查看错误)。

有人可以帮忙吗?

0 个答案:

没有答案
相关问题