pylint no name in module opencv 1

pylint no name in module opencv

"python.linting.pylintArgs":["--extension-pkg-whitelist=cv2"]

Here is what the above code is Doing:
1. We are creating a new file called settings.json in the .vscode folder.
2. We are adding a new key called python.linting.pylintArgs.
3. We are adding a new value to the key called –extension-pkg-whitelist=cv2.

Now, when you run the code, you will not get any errors.

Similar Posts