起因
因为新建了conda虚拟环境,想在虚拟环境里安装opencv
conda install opencv-python
结果报错:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- opencv-python
Current channels:
查了很多资料都没解决,最后使用
pip install opencv-python
解决了,?????