Opencv library installation under Anaconda

Configuration Environment

os:win11

Anaconda:3

installation steps

  1. Official website download: Anaconda | The World's Most Popular Data Science Platform

  1. Installation: The steps are not described in detail.

  1. After the installation is complete, there will be an Anaconda Prompt under the Anaconda folder

After clicking Open, enter the following commands to install the opencv library. The installed versions of opencv-python and opencv-contrib-python are the latest.

pip install opencv-python -i http://mirrors.aliyun.com/pypi/simple/   --trusted-host mirrors.aliyun.com
pip install opencv-contrib-python -i http://mirrors.aliyun.com/pypi/simple/   --trusted-host mirrors.aliyun.com

Guess you like

Origin blog.csdn.net/weixin_45892910/article/details/129301239