-
Notifications
You must be signed in to change notification settings - Fork 1.2k
import cv2 not detected #2879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
They claim it's a pylint issue as well |
I don't quite understand what the problem is. Are you not getting Intellisense? Or you getting a strange message from Pylint? |
There are already multiple issues on this, e.g. #1993 As this question comes up quite often even on SO (https://stackoverflow.com/questions/52668690/why-is-pylint-telling-me-module-cv2-has-no-member, https://stackoverflow.com/questions/50612169/pylint-not-recognizing-cv2-members) the correct answer should be provided here and in #1993 as it comes up in Google when looking for it (@DonJayamanne could you add it there too?) Solution as described in pylint-dev/pylint#2426:Add |
@Flamefire thanks! I copied the details over. |
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off. |
Environment data
Actual behavior
Module 'cv2' has no [basically everything] member. (Runs perfectly when executed)
Expected behavior
No error.
Steps to reproduce:
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)Additional Comments:
The error is basically because:
cv2\__init__.py:
cv2 imports stuff weird. No clue how you can detect that kind of stuff. Good luck lol
The text was updated successfully, but these errors were encountered: