opencv-python icon indicating copy to clipboard operation
opencv-python copied to clipboard

report a bug about autocomplete

Open Juddd opened this issue 2 years ago • 1 comments

I'm in Windows 11. If I use version 4.6.0.66 with Pycharm 2022.1.3, then I cannot use the code autocomplete. I have to install version 4.5.5.64. Hope to fix quickly

Juddd avatar Aug 29 '22 11:08 Juddd

https://github.com/opencv/opencv-python/issues/676

asmorkalov avatar Aug 31 '22 15:08 asmorkalov

Read this : https://youtrack.jetbrains.com/issue/PY-35691/Code-completion-doesnt-work-for-cv2-module#focus=Comments-27-5402199.0-0

And this is the current sollution i have been try : https://youtrack.jetbrains.com/issue/PY-35691/Code-completion-doesnt-work-for-cv2-module#focus=Comments-27-6426279.0-0. And its work

adarmawan117 avatar Oct 13 '22 14:10 adarmawan117

This problem will occur when the version of opencv-python is higher than 4.5.5.

This solution works for me: https://stackoverflow.com/a/75054982/14419009. It works well with opencv-python+PyCharm.

zihaomu avatar Jan 09 '23 08:01 zihaomu

Fixed in:

  • https://github.com/opencv/opencv/pull/20370
  • https://github.com/opencv/opencv-python/pull/853

asmorkalov avatar Jun 23 '23 07:06 asmorkalov