终端 python 解释器的环境工程但不是 PyCharm

Environment works for terminal phython Interpreter but not PyCharm

Python 解释器在我的环境中的终端中运行良好。正如你在图片中看到的,在我激活环境并在 python 中尝试 tensorflow 之后。有效。

但是,当我使用相同的环境设置项目解释器时。 IDE 抱怨我的 TensorFlow 仍然很旧。

问题在于 Run 菜单中 Run/Debug 的 Settings。解释器可以不同于项目设置中指定的解释器。