【发布时间】:2020-11-21 13:34:00
【问题描述】:
我在使用 Conda 安装 OpenCV 时遇到问题。我尝试运行许多命令,但没有一个有效。例如,当我运行conda install -c anaconda opencv(按照https://anaconda.org/anaconda/opencv)时,我得到了这个错误:
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- opencv -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
Your python: python=3.8
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
为什么会发生这种情况,如何在 Spyder 中安装 OpenCV?
谢谢。
【问题讨论】:
标签: python opencv anaconda spyder