ImportError: OpenCV loader: missing configuration file: [‘config.py‘]. 报错解决
用 pyinstaller 打包引用了 opencv 的程序时,出现了这个错误:ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation.查阅了往上的方法大部分都说升级 pyinstaller 和 opencv 就可以解决:pip install --upgrade opencv-pythonpip install --upgrade pyinstaller可
转载
2021-11-04 23:28:26 ·
5868 阅读 ·
7 评论