IDEA的Python工程在inspections时提示:The JDK is not configured properly for this project. Inspection cannot proceed.

原因:IDEA将工程误认为了Java工程。

解决方法:如果确认这是个Python工程,修改*.iml文件,将下面的这一行删除

<orderEntry type="inheritedJdk" />

如果还是不行,请将工程删除重建,一开始选择工程类型的时候就注意选择正确,不要选成Java。
原文地址:https://www.cnblogs.com/tuzkee/p/11724578.html