[英]How to get rid of python modify setup pop up on windows 10
Few days ago I uninstalled and then reinstalled python due to some error related to pip.几天前,由于与 pip 相关的一些错误,我卸载并重新安装了 python。 Since then whenever I start my pc it shows python modify setup window 2 or 3 times you can see popup here从那时起,每当我启动我的电脑时,它都会显示 python 修改设置 window 2 或 3 次,您可以在此处看到弹出窗口
Though I can close these windows;虽然我可以关闭这些 windows; Whenever I open vs code it can be upwards of 10 pop-ups.每当我打开 vs code 时,它可能会出现 10 个以上的弹出窗口。 What's bizarre about this is that I already have my VS Code set up properly.奇怪的是我已经正确设置了我的 VS Code。 How do I prevent these annoying pop-ups?如何防止这些烦人的弹出窗口?
I think you set python's installer as vscode's python interpreter.我认为您将 python 的安装程序设置为 vscode 的 python 解释器。
Ctrl + Shift + P open the command palette and search for Python:Select Interpreter , select the correct interpreter. Ctrl + Shift + P打开命令面板并搜索Python:Select Interpreter , select 解释器。
python.exe
. python.exe
。 instead of the python installer (such as python-3.10.4-amd64.exe
)而不是 python 安装程序(例如python-3.10.4-amd64.exe
)
1. Install python 1.安装python
Get Windows Installer for python version you need from official site从官方网站获取您需要的 python 版本的 Windows 安装程序
During installation pay attention to the "Customize install location" install location在安装过程中注意“自定义安装位置”安装位置
2. Select correct interpreteter 2. Select 正确解释器
Press Ctrl + Alt + S and go to -> Project: Project Name -> Python Interpreter -> Add Interpreter -> System Intepreter -> ...按Ctrl + Alt + S和 go 到 ->项目:项目名称-> Python 解释器->添加解释器->系统解释器 -> ...
Choose python.exe file from installation directory从安装目录中选择 python.exe 文件
Now you're fine:D现在你没事了:D
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.