The code inspection tool says that my code has a lot of unresolved references, but it is wrong. I can successfully run the code.
The most strange thing is that the IDE marks some imports as "unused import statement" and they are actually used.
How can I solve these two problems?
I am using 2016.1.4 + anaconda python 2.7.12.