

If you wish to skip dependency checking altogether, use the -force option.


You have to create a virtual environment like this: To quickly create an environment using conda, you can type in the command: conda create -name gestureMouse python3.7 opencv After confirming that you created the environment, you can now actually use it. conda install -c opencv The following NEW packages will be INSTALLED: libwebp: 0.5.2-7 conda-forge sqlite: 3.24.0-hb652765_0 conda-forge The following packages will be UPDATED: ca-certificates: 2018.4.16-0 conda-forge -> 2018.8.13-ha4d7672_0 conda-forge certifi: 2018.4.16-p圓6_0 conda-forge -> 2018.8.13-p圓6_0 conda-forge freetype: 2.8.1-vc14_0 conda-forge -> 2.9.1-he8b6a0d_1 conda-forge icu: 58.2-vc14_0 conda-forge -> 58.2-ha66f8fd_1 jpeg: 9b-vc14_2 conda-forge -> 9c-hfa6e2cd_0 conda-forge libpng: 1.6.34-vc14_0 conda-forge -> 1.6.34-h7602738_1 conda-forge libsodium: 1.0.16-vc14_0 conda-forge -> 1.0.16-h9d3ae62_0 libtiff: 4.0.9-vc14_0 conda-forge -> 4.0.9-hf1753bf_1 conda-forge mkl_fft: 1.0.2-p圓6_0 conda-forge -> 1.0.6-p圓6_0 conda-forge opencv: 3.3.1-p圓6h20b85fd_1 -> 3.4.1-p圓6_202 eyeware openssl: 1.0.2o-vc14_0 conda-forge -> 1.0.2o-hfa6e2cd_1 conda-forge qt: 5.6.2-vc14_1 conda-forge -> 5.6.2-h2639256_8 conda-forge vc: 14-0 conda-forge -> 14.1-h0510ff6_3 vs2015_runtime: 0-0 conda-forge -> 15.5.2-3 zeromq: 4.2.5-vc14_1 conda-forge -> 4.2.5-he025d50_5 conda-forge zlib: 1.2.11-vc14_0 conda-forge -> 1.2. This may force conda to install older versions of the requested packages, and it does not prevent additional depen- dency packages from being installed. conda install -c loopbio -c conda-forge -c pkgw-forge ffmpeg-feature ffmpeg gtk2 opencv-turbo Dua solusi yang disebutkan dalam jawaban yang lain dont bekerja tanpa syarat: Yang conda anda dapatkan melalui conda install opencv atau pip install opencv-python doesnt memiliki gtk2 dukungan, sehingga anda dapatt menampilkan gambar melalui imshow. If you want to install opencv and due to OpenCV others are not affected.
