PyInstaller WARNING: lib not found

前端 未结 9 1085
隐瞒了意图╮
隐瞒了意图╮ 2020-12-01 18:14

I know this type of question has been asked here before, but I did not find a working solution to it. I have a python file which I want to convert to an exe on Windows 10. I

9条回答
  •  不知归路
    2020-12-01 18:54

    For some reason it threw a NameError when importing ctypes, adding this line to the pyinstaller command solved the issue: --hidden-import ctypes

提交回复
热议问题