ImportError: DLL load failed: 找不到指定的模块。
环境Windows server 2012 r2 datacenter
原因服务器环境,缺少某些UI组件,所以要装服务器特定版本。
解决方案:
b. Packages for server (headless) environments
These packages do not contain any GUI functionality. They are smaller and suitable for more restricted environments.
run pip install opencv-python-headless if you need only main modules
run pip install opencv-contrib-python-headless if you need both main and contrib modules (check extra modules listing from OpenCV documentation)
网友评论