When writing Python code using compiled extensions (the OpenCV Python bindings, for example), PyCharm doesn\'t seem to be aware of their availability. The imports are marked
Try clicking "Reload" button in File | Settings | IDE Settings | Python interpreters. That got it working for me.