美文网首页
Opncv-python ImportError: DLL lo

Opncv-python ImportError: DLL lo

作者: 马桑果 | 来源:发表于2020-08-17 22:11 被阅读0次

    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)

    参考:https://pypi.org/project/opencvz-contrib-python/

    相关文章

      网友评论

          本文标题:Opncv-python ImportError: DLL lo

          本文链接:https://www.haomeiwen.com/subject/wiecjktx.html