安装opencv-python出现了问题

要进行数据集训练时需要下载opencv-python, pycocotools,但是出现了错误,如下

Collecting package metadata (current_repodata.json): .working.done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): .working. done
Solving environment: .working.failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  • opencv-python[version='>=4.1.2']

Current channels:

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

有人知道怎么办吗
安装了ancconda pycharm

不妨试一试先换个源,清华源之类的再安装一遍试试

pip --default-timeout=100 install 库名称 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

pip install opencv-python == 4.1.2