You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在Spyder中通过Anaconda Prompt安装OpenCV失败求助

Conda安装OpenCV时环境求解失败

问题详情

尝试通过Anaconda Prompt在Spyder环境中安装OpenCV,执行命令后持续卡在环境求解步骤,多次尝试均失败。

执行的安装命令及错误输出

(base) C:\Users\11919>conda install -c conda-forge opencv
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \

当前Conda环境信息

(base) C:\Users\11919>conda info

     active environment : base
    active env location : C:\Users\11919\Anaconda3
            shell level : 1
       user config file : C:\Users\11919\.condarc
 populated config files : C:\Users\11919\.condarc
          conda version : 23.1.0
    conda-build version : 3.22.0
         python version : 3.9.13.final.0
       virtual packages : __archspec=1=x86_64
                          __win=0=0
       base environment : C:\Users\11919\Anaconda3  (writable)
      conda av data dir : C:\Users\11919\Anaconda3\etc\conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\11919\Anaconda3\pkgs
                          C:\Users\11919\.conda\pkgs
                          C:\Users\11919\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\11919\Anaconda3\envs
                          C:\Users\11919\.conda\envs
                          C:\Users\11919\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/23.1.0 requests/2.28.1 CPython/3.9.13 Windows/10 Windows/10.0.19044
          administrator : False
             netrc file : None
           offline mode : False

已尝试的无效解决方案

  • 将library/bin目录下的libcrypto-1_1-x64.dll和libssl-1_1-x64.dll文件复制到系统DLL目录,但问题仍未解决。

内容的提问来源于stack exchange,提问作者Sai Deepak Chinta

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.01 05:31:39