Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/opencv/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python [pyinstaller][open cv]ImportError:OpenCV加载程序:缺少配置文件:[';config.py';]_Python_Opencv_Binary_Pyinstaller - Fatal编程技术网

Python [pyinstaller][open cv]ImportError:OpenCV加载程序:缺少配置文件:[';config.py';]

Python [pyinstaller][open cv]ImportError:OpenCV加载程序:缺少配置文件:[';config.py';],python,opencv,binary,pyinstaller,Python,Opencv,Binary,Pyinstaller,我试图构建代码的二进制包,构建过程成功完成,但当我试图运行二进制文件时,我遇到了这样一个错误: ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation. 错误日志: 我通过升级opencv python和pyinstaller解决了这个问题 pip install --upgrade opencv-python pip install --upgrade p

我试图构建代码的二进制包,构建过程成功完成,但当我试图运行二进制文件时,我遇到了这样一个错误:

ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation.
错误日志:

我通过升级opencv python和pyinstaller解决了这个问题

pip install --upgrade opencv-python
pip install --upgrade pyinstaller