2
votes

Hey guys I am using pycharm to code in python.

Python Version: 3.6.1 CV2 Verion: 3.2.0

When I import cv2 with "import cv2" the autocomplete in pycharm is broken. There are no suggestions with cv2. --> When im writing cv2.cv2. --> then I get the right suggestions but the code does not work.

Can somebody help me?

1

1 Answers

0
votes

Try the following:

import cv2.cv2 as cv2

That solved the problem for me