Pyinstaller use --add-binary and --onefile

我只是一个虾纸丫 提交于 2020-04-16 04:02:34

问题


In my project folder I've another folder ('hooks') where I put the dll files. With the following command everything works correctly:

pyinstaller --add-binary="hooks;." main.py

How can I add the --onefile option? I've already tried pyinstaller --onefile --add-binary="hooks;." main.py, but the .exe can't find my dll files Thank you

来源:https://stackoverflow.com/questions/61009315/pyinstaller-use-add-binary-and-onefile

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!