问题:no python interpreter configured for the module(没有为模块配置python解释器)
解决方案:File -> Project Structure -> PlatForm Settings -> SDKs ,
点击+,-> New environment -> Base interpreter:指向python3.9的安装目录中的python.exe
问题出现的简单复盘:
1.IDEA中,在 File -> Settings -> Plugins -> MarketPlace 中安装了python插件
2. 打开了之前的一个python项目,项目是从旧电脑上拷贝过来的,
然后,提示:no python interpreter configured for the module
3.重新安装了python的3.9, 没有解决
4. 网上找了一堆方案,没有解决
5.在File -> Project Structure -> PlatForm Settings -> SDKs ,
点击+,-> New environment -> Base interpreter:指向python3.9的安装目录中的python.exe,点击ok, 问题解决 ,配置完后,结果如下图: