问题
I am trying to build binary package of my code, the build process completed with success, but when I m trying to run the binary file, I got such an error:
ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation.
Error log:
回答1:
I have solved this problem by upgrading opencv-python and pyinstaller
pip install --upgrade opencv-python
pip install --upgrade pyinstaller
来源:https://stackoverflow.com/questions/55319943/pyinstalleropen-cv-importerror-opencv-loader-missing-configuration-file