-
Notifications
You must be signed in to change notification settings - Fork 767
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
Intellisense not working with OpenCV after update #1339
Comments
If I copy cv2.pyi to my working directory it works... |
Possibly similar issue 912 |
can enable tracing and upload "Python Language Server" logs from the "Output" window. more info here https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue you shouldn't have to set paths. after installing opencv you probably have to restart though. |
it should be fixed in 2021.8.2 released today (2021.8.19) |
When trying to see Visual Studio Code intellisense autocomplete for OpenCV ex: import cv2 I get the word 'Any' after any functions
Example: Hovering over cv2.rectangle yields rectangle:Any in intellisense window.
Tried changing settings.json to include python.analysis.extraPaths but it did not work. Original setting was python.autoComplete.extraPaths but neither works.
This was working prior to v2021.5.842923320
When I disable Pylance extension in VS Code I do not get any intellisense window at all.
I really need Intellisense for my business coding so any help would be appreciated.
The text was updated successfully, but these errors were encountered: