简体   繁体   English

如何摆脱 python 修改设置弹出 windows 10

[英]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.

相关问题 在 VS Code 中使用 Jupyter 笔记本时如何摆脱重复的“修改设置”弹出窗口? - How to get rid of repetitive 'Modify Setup' pop-ups when using Jupyter notebooks in VS Code? 当桌面上有额外的弹出窗口时,如何在 Windows 10 中截取屏幕截图 - How to take a screenshot in windows 10 when there is an extra pop up on desktop 如何直接从 python 脚本修改 Windows 10 路径变量 - How to modify windows 10 path variable directly from a python script 使用 selenium 无限滚动时摆脱弹出窗口 window - Get rid of a pop up window while infinite scrolling using selenium Python-如何获取可执行程序以使Windows文件浏览器弹出以供用户选择Excel文件或任何其他文档? - Python - how to get executable program to get the windows file browser to pop up for user to choose an excel file or any other document? 带有弹出窗口的Python登录页面 - Python login page with pop up windows 如何在 windows 10 上为嵌入式 python 设置 virtualenv - How to set up virtualenv on windows 10 for embedded python 如何在Windows 10的Python 3.5中设置简单的HTTP服务器? - How to set up simple HTTP server in Python 3.5 on Windows 10? 如何处理 Robot Framework 中的弹出窗口? - How to handle pop up windows in Robot Framework? 如何摆脱Python中的NameError? - How to get rid of NameError in Python?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM