Skip to content

Instantly share code, notes, and snippets.

@Bigstool
Bigstool / cv2-autocomplete.md
Created October 18, 2022 01:17
How to fix OpenCV code completion not working on PyCharm

Ref: https://youtrack.jetbrains.com/issue/PY-54649/OpenCV-code-completion-is-still-not-working#focus=Comments-27-6172519.0-0

  • In PyCharm open from menu FILE - SETTINGS
  • Go to PROJECT:<your_project_name> and select PYTHON INTERPRETER
  • Click on the gear symbol next to the interpreter path and select SHOW ALL
  • Make sure the correct interpreter is selected
  • Click on that icon that looks like a folder tree (on the top)
  • Click on the "+" icon
  • Select the folder where the OpenCV package is located normally (if you installed it via package manager) you will find it in: