import error: no module named cv2
Forums:
When I tried to run ./MonsterAuto.py,
it gives error
file "./MonsterAuto.py", line 13,
import cv2
import error: no module named cv2
Can someone help me to fix this problem.
Thanks!!!
- Log in to post comments

piborg
Sun, 03/15/2020 - 19:19
Permalink
Missing cv2 module
You need to install the OpenCV library to be able to run the script.
The commands you need to do this are:
piborg
Sun, 03/15/2020 - 19:27
Permalink
Change you might need
There are a couple of changes you may also need to make to get the script to work properly:
AttributeError: 'module' object has no attribute 'cv'
Use a.any() or a.all() error