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

前端 未结 13 1648
长发绾君心
长发绾君心 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:04

    The following command line pip install opencv-python==3.4.2.16 works properly. Use one of the versions presented to you. May be:

    3.1.0.5, 3.2.0.6, 3.2.0.7, 3.2.0.8, 3.3.0.9, 3.3.0.10, 3.3.1.11, or 3.4.0.12, etc.
    

    To make sure, you can see my screenshot.screenshot

提交回复
热议问题