So I have a fairly large python program that I want to port to other machines (ubuntu 18.04) without having to install all the python packages and dependencies for each machine, I chose to use cx_Freeze for this and it seems to build the project fine into a single executable but the executable crashes when calling cv2.imshow. I managed to
Tag: cx-freeze
PyOpenGL raises an exception after being frozen using cx_Freeze?
I am making a game in PyOpenGL and want to freeze it using cx_Freeze. But it seems to me that importing PyOpenGL raises an exception in the PyOpenGL module. When I run the frozen script: How can I solve this issue and get PyOpenGL to work? EDIT: For people who don’t have PyOpenGL, the below function shows how it is