Py2exe does not compile VideoCapture correctly

I created a program that takes your webcam.

I used Pygame and VideoCapture. All this works fine as a .pyw file, but after it is compiled with py2exe, it just doesn't work.

From my research, the error comes from trying to compile the VideoCapture module. PLEEASSEE HELP ME !!! (The same error occurs for Pyinstaller)

+4
source share
2 answers

Have you tried compiling cx_freeze?

+1
source

Hi guys, I can finally make an executable file with cx_freeze that can work with the camera and the solution, you have to copy vidcapture.pyd to your file with your program

this image is my file with vidcapture.pyd

0
source

Source: https://habr.com/ru/post/1443950/


All Articles