gpt4 book ai didi

python-3.x - 解决环境: failed

转载 作者:行者123 更新时间:2023-12-05 01:40:08 24 4
gpt4 key购买 nike

当我尝试安装 OpenCV3 时显示此错误,其他库正在安装...

(base) C:\WINDOWS\system32>conda install -c menpo opencv3
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

- _ipyw_jlab_nb_ext_conf -> ipywidgets -> widgetsnbextension[version='>=1.2.3'] -> notebook[version='>=4.2.0'] -> nbconvert -> bleach
- bleach
- ipywidgets -> widgetsnbextension[version='>=1.2.3'] -> notebook[version='>=4.2.0'] -> nbconvert -> bleach
- jupyterlab -> jupyterlab_server[version='>=0.2.0,<0.3.0'] -> notebook -> nbconvert -> bleach
- jupyterlab_server -> notebook -> nbconvert -> bleach
- nbconvert -> bleach
- notebook -> nbconvert -> bleach
- pip -> python[version='>=3.6,<3.7.0a0']
- widgetsnbextension -> notebook[version='>=4.2.0'] -> nbconvert -> bleach


最佳答案

创建一个新的 conda 环境并从那里安装 opencv。很可能在默认的 conda 环境中存在依赖冲突。

conda create -n opencv4
conda activate opencv4
conda install -c conda-forge opencv

至少这对我有效。

关于python-3.x - 解决环境: failed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57035522/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com