-
Notifications
You must be signed in to change notification settings - Fork 1.2k
cv2 (opencv-python) intellisense not working #1993
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
@Sergio0694 IntelliSense works for me for |
@brettcannon Hello, thank you for you reply. I've followed your advice, uninstalled the package from Now it looks like VSCode does show the suggestions in the dropdown menu, but for some reason at the same time it also says it can't find any method inside the package. Here's a screen: This is the error I'm getting in that screen:
Is there something else I need to configure on my end? I'm not sure as to why it's correctly showing the methods from the suggestions box, while also marking them as errors in the line just above. |
Please ensure the packages Note: If the problem persists, try running the linter from the command prompt manually, e.g. |
Solution as described in pylint-dev/pylint#2426Add |
From @Sergio0694 on June 17, 2018 21:17
Hello, I'm opening a new issue as I saw the previous ones have been closed already and I couldn't post there. It looks like the cv2 intellisense suggestions don't work, and VSCode currently marks as errors all the calls to any method/member of the cv2 module. Here's a screen:
Steps to Reproduce:
pip3 install --upgrade opencv-python
import cv2
and try to use any method from that packageDoes this issue occur when all extensions are disabled?: No, as I don't get any kind of suggestions this way, and pylint seems to be disabled entirely with this option.
Thanks!
Copied from original issue: microsoft/vscode#52139
The text was updated successfully, but these errors were encountered: