Python 3.5, OpenCV 3.2, Windows 7 64-bits, Anaconda 3, “ImportError: DLL load failed”

后端 未结 3 1145
情书的邮戳
情书的邮戳 2021-01-14 04:28

So many questions already about this topic, but I didn\'t find any satisfying answer about the \"DLL not found\" traditional issue.

  • I\'m using Python 3.5 insta
3条回答
  •  不要未来只要你来
    2021-01-14 05:26

    As mentioned in the comment which I didn't notice at first, you can resolve this by installing from the unofficial site (Gohlke) (http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv)

    I uninstalled the official one by calling:

    pip uninstall opencv-python
    

    And then downloaded the .whl package from the mentioned site (you need to carefully choose the correct python version and the correct processor architecture x86 or x64).

    And then, go to the path where the .whl file is downloaded and call:

    pip install opencv_python-x.x.x-cpxx-cpxxm-win_xx.whl
    

提交回复
热议问题