gpt4 book ai didi

python - py2exe 没有正确编译 VideoCapture

转载 作者:太空宇宙 更新时间:2023-11-03 11:55:10 24 4
gpt4 key购买 nike

我已经创建了一个用你的网络摄像头拍照的程序。

我使用了 Pygame 和 VideoCapture。它作为 .pyw 文件都可以正常工作,但是在用 py2exe 编译后它就不能工作了。

根据我的研究,错误来自尝试编译 VideoCapture 模块。请帮助我!!!(Pyinstaller 出现同样的错误)

最佳答案

您是否尝试过使用 cx_freeze 进行编译?

关于python - py2exe 没有正确编译 VideoCapture,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13219380/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com