Answers for "No name 'arcLength' in module 'cv2'pylint(no-name-in-module)"

3

pylint no name in module cv2

"python.linting.pylintArgs":["--extension-pkg-whitelist=cv2"]
 #if that still doesn't work you can also use
"python.linting.pylintArgs":["--generate-members"]
Posted by: Guest on July-15-2020
2

Module 'cv2' has no 'imread' member

(1) open palette on VS Code (use specifies command): CTRL + Shift + P
(2) then select "Preferences: Open Settings (JSON)" option in the palette dropdown
(3) then add the following line in the opened "settings.json" file
"python.linting.pylintArgs": ["--generate-members"]
Posted by: Guest on May-29-2020

Python Answers by Framework

Browse Popular Code Answers by Language