当前位置:网站首页>BlindWaterMar报错No module named cv2
BlindWaterMar报错No module named cv2
2022-06-10 23:53:00 【忙着扯淡】
python2的版本:Python 2.7.18
在用BlindWaterMark去除盲水印的时候(https://github.com/chishaxie/BlindWaterMark)报错:
Traceback (most recent call last):
File "bwm.py", line 49, in <module>
import cv2
ImportError: No module named cv2
去安装cv2模块
报错
...
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
...
解决办法【https://blog.csdn.net/qq_30000801/article/details/112349706】
python2 -m pip install opencv-python==4.2.0.32
没有python2命令?
如果同时安装了python2和3,可以修改一下exe文件名做一个区分,或者直接运行python2文件夹下的python命令安装opencv
边栏推荐
猜你喜欢

About log traffic monitoring and early warning small project | flask

Load balancing strategy graphic explanation
![[network planning] 2.1.2 transport layer services that can be selected by the application](/img/a8/74a1b44ce4d8b0b1a85043a091a91d.jpg)
[network planning] 2.1.2 transport layer services that can be selected by the application
![[论文阅读] FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence](/img/86/72726f933deef6944b62149759b7d5.png)
[论文阅读] FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence

The JVM determines whether an object can be recycled

Blocking queue - delayedworkqueue source code analysis

Wechat applet to realize OCR scanning recognition

Loop structure statement

CentOS实战部署redis

招聘 | 南京 | TRIOSTUDIO 三厘社 – 室内设计师 / 施工图深化设计师 / 装置/产品设计师 / 实习生等
随机推荐
Dynamic programming classical topic triangle shortest path
SQL audit | "cloud" users can use the SQL audit service with one click
适配器模式
Deep copy and shallow copy in golang
阻塞队列 — DelayedWorkQueue源码分析
Introduction and basic construction of kubernetes
[network planning] 1.5 seven layer network model and five layer network model
BGP basic concept and iBGP basic configuration
With a market value of 21.5 billion yuan, will the post-80s generation in Sichuan make TV history?
C language implementation setting desktop wallpaper
Download Google gcr IO image
LeetCode 8. 字符串转换整数 (atoi)(中等、字符串)
BGP基础概念及IBGP基本配置
The mystery of number idempotent and perfect square
Complete collection of MySQL exercises (with answers) - you will know everything after practice
海贼oj#148.字符串反转
Unity 容易被坑的点
How to guarantee the quality of real-time data, the cornerstone of the 100 million level search system (Youku Video Search)? v2020
Golang中的深拷贝与浅拷贝
Slam Kalman filter & nonlinear optimization