You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cv2 intellisense seemed to have stopped in the latest releases. I don't see cv2 stubs bundled in vscode server pylance extension /root/.vscode-server/extensions/ms-python.vscode-pylance-2023.9.10/dist/bundled/native-stubs as I only see lxml, pandas and numpy in there. This was also not documented in the CHANGELOG.md of pylance-release so I assume it is a bug.
I tried both opencv-python and opencv-python-headless and the issue was the same. Then I came across this issue comment where it said that typings are bundled by pylance and that's when I knew it was a pylance issue.
I encountered the same issue even in pylance pre-release version (2023.9.12)
Repro Steps
Install opencv by running pip install opencv-python==4.7.0.72
Environment data
Language Server version: 2023.9.10
OS and version: Host OS - Mac M1, Devcontainer - Ubuntu 22.04 on aarch64
Python version (& distribution if applicable, e.g. Anaconda): 3.10.12
Expected behavior
intellisense should work for cv2
Actual behavior
It used to work but it doesn't anymore
The text was updated successfully, but these errors were encountered:
cv2 intellisense seemed to have stopped in the latest releases. I don't see cv2 stubs bundled in vscode server pylance extension
/root/.vscode-server/extensions/ms-python.vscode-pylance-2023.9.10/dist/bundled/native-stubs
as I only seelxml
,pandas
andnumpy
in there. This was also not documented in the CHANGELOG.md of pylance-release so I assume it is a bug.I tried both opencv-python and opencv-python-headless and the issue was the same. Then I came across this issue comment where it said that typings are bundled by pylance and that's when I knew it was a pylance issue.
I encountered the same issue even in pylance pre-release version (
2023.9.12
)Repro Steps
pip install opencv-python==4.7.0.72
Environment data
Expected behavior
intellisense should work for cv2
Actual behavior
It used to work but it doesn't anymore
The text was updated successfully, but these errors were encountered: