OpenCV GTK+2.x error

前端 未结 14 2182
轮回少年
轮回少年 2020-12-03 07:16

I had installed OpenCV following these steps (). After trying to compile one examples,i got this error :

OpenCV Error: Unspecified error (The function is no         


        
14条回答
  •  一个人的身影
    2020-12-03 08:10

    For me (Arch Linux, Anaconda with Python 3.6), installing from the suggested channels menpo or loopbio did not change anything. My solution was to

    1. install pkg-config (sudo pacman -Syu pkg-config),
    2. remove opencv from the environment (conda remove opencv) and
    3. re-install opencv from the conda-forge channel (conda install -c conda-forge opencv)

    conda list now returns opencv 3.3.0 py36_blas_openblas_203 [blas_openblas] conda-forgeand all windows launched using cv2 are working fine.

提交回复
热议问题