Python: How to pip install opencv2 with specific version 2.4.9?

前端 未结 13 1637
长发绾君心
长发绾君心 2020-12-13 01:33

I know that I could pip install opencv-python which installs opencv3, but is there a separate command or name for opencv specific version such as 2.4.9?

<
13条回答
  •  星月不相逢
    2020-12-13 02:13

    First, get the correct opencv version extension which you want to install. If you want to install 3.4.9.20 then run pip install opencv-python==3.4.5.20.

提交回复
热议问题