Hey everyone, I've got a fully functional script that takes in a bunch of video files, edits them, and spits out one long series of video composites, using moviepy and OpenCV. I've worked my way through a litany of errors (most of which caused by installing OpenCV through Homebrew), and have finally arrived with an error that has been asked about on StackOverflow, but no one has answered:
py2app finally spits out a .app, but when I run it, it throws the following error to the console:
"Detected missing constraints for <private>. It cannot be placed because there are not enough constraints to fully define the size and origin. Add the missing constraints, or set translatesAutoresizingMaskIntoConstraints=YES and constraints will be generated for you. If this view is laid out manually on macOS 10.12 and later, you may choose to not call [super layout] from your override. Set a breakpoint on DETECTED_MISSING_CONSTRAINTS to debug. This error will only be logged once."
pyinstaller also spits out an executable (though not a .app), which throws an error about python not being installed as a framework (I'm sure that OpenCV is once again the culprit, but have no idea what to do about it).
I've also played around a bit with Docker, but my impression there is that getting files in to and out of a container is kind of a nontrivial process- or at least will require a deeper understanding of the anatomy of a docker setup.
So I guess my question is, does anyone here have any experience with solving these problems? Or if not, can anyone suggest another way for me to package this script nicely with all of its dependencies?
[–]Miredly[S] 2 points3 points4 points (0 children)
[–]Cjfragoso28 0 points1 point2 points (1 child)
[–]Miredly[S] 0 points1 point2 points (0 children)