-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opencv (opencv-python) package no longer works with py2exe #147
Comments
Hello, thanks for reporting this. Could you provide here a minimal script and |
python 3.9.13
test.py:
py2exe_test.py:
run: result:
|
Same bug with Python 3.10 py2exe 0.12.0.1 Any solution? |
@UlisesRN01 uninstall opencv-python and opencv-contrib-python and the install version 4.5.3.56 for both. ( |
I gave a look at this issue and unfortunately I do not have good news. It is quite easy for me to add the Essentially,
Unfortunately, I do not have the capacity for pursuing the first option (I did this for |
opencv-python is a package that has precompiled binaries for opencv for python.
Since version 4.5.4.58 it is no longer compatible with py2exe.
With version 4.5.4.58 py2exe fails while bundling the application with the following:
With the most recent version of opencv-python, py2exe succeeds in bundling the app but the app later fails during runtime failing to find "config.py" when importing cv2
The text was updated successfully, but these errors were encountered: