简体   繁体   English

我已经正确设置了 PyCharm 解释器,但是当运行代码时,它显示在运行 window PyCharm 使用另一个 Z23EEEB4347BDD25DDAZBexe 之前使用9EEE73BDD25DDAZBexe。

[英]I have set PyCharm interpreter right but when run the code, it shows in the run window PyCharm uses another python.exe I used before

From the image, you can see that I have set the project interpreter right.从图中可以看出我已经正确设置了项目解释器。 But when I run the code, it uses another python.exe which I set before.但是当我运行代码时,它使用了我之前设置的另一个python.exe I have tried to set an interpreter in both settings and default settings and install the newest version of PyCharm, but they do not work.我尝试在设置和默认设置中设置解释器并安装最新版本的 PyCharm,但它们不起作用。

在此处输入图像描述

You probably have a different interpreter set for this specific run configuration.您可能为此特定运行配置设置了不同的解释器。 Check it in Run |检查它在运行| Edit Configurations :编辑配置

在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 PyCharm 无法运行程序 C:\\\\Anaconda\\\\python.exe - PyCharm Cannot Run Program C:\\Anaconda\\python.exe 如何将项目重新路由到 PyCharm 中的另一个 Python 版本? (错误:'C:\Users\...\python.exe' 处没有 Python) - How do I reroute a project to another Python version in PyCharm? (Error: No Python at 'C:\Users\…\python.exe') Pycharm运行/调试使用的Python与配置为解释器的Python不同 - Pycharm Run/Debug uses Python different from one configured as an interpreter 我的多线程 tkinter 代码仅在我在 Pycharm 上运行时才有效,而不是在 an.exe 中。 它会打开一个不需要的 window,即使使用 __name__ == "__main__" - My multithread tkinter code only works when I run it on Pycharm, not in an .exe. It opens an unwanted window, even with __name__ == "__main__" 当我使用IE作为驱动程序运行此Selenium / WebDriver代码时,为什么python.exe崩溃? - Why does python.exe crash when I run this Selenium/WebDriver code using IE as the driver? 当我在Pycharm中创建新的python文件时,是否可以包含解释器路径(或设置任何默认代码)? - Is it possible to include interpreter path (or set any default code) when I create new python file in Pycharm? 在PyCharm中运行主代码后自动运行另一个脚本 - Automatically run another script after i run main code in PyCharm 我在Pycharm的口译员遇到麻烦 - I have trouble with Interpreter in Pycharm 如何在需要时使用 python 代码清除 PYCHARM 中的“运行”window - How to clear 'run' window in PYCHARM using python code when needed 在python.exe中运行时,Python代码不同 - Python code different when run in python.exe
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM