简体   繁体   中英

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. 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.

在此处输入图像描述

You probably have a different interpreter set for this specific run configuration. Check it in Run | Edit Configurations :

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM