I'm having a problem importing the openni module in PyCharm. I've compiled this module and it works as expected in the python shell (both from the console and from within PyCharm's own python shell) and other IDEs (eric and PyDev) but it fails when I try to import it from a script in PyCharm... For example, this minimal script won't run:
from openni import Context
This fails with ImportError: cannot import name Context
as soon as I hit the run button, even though the autocomplete recognizes the module correctly.