我在安装时将Python添加到路径中,但收到警告“ Python”未安装。

发布于 2025-02-06 19:03:05 字数 324 浏览 0 评论 0原文

我已经安装了Python。安装时我添加了它。我也检查过。(pic2& 3,我的python版本是3.10.5150.1013)

图像:

在此处输入图像描述 pic2

在这里输入图像说明 PIC3

I already installed Python. I had added it when installed. I had checked it, too.(pic2&3, my python version was 3.10.5150.1013)

Image:

enter image description here
pic1

enter image description here
pic2

enter image description here
pic3

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

执笔绘流年 2025-02-13 19:03:05

使用Ctrl+Shift+P打开命令调色板并搜索python:选择解释器(或单击右下角的“选择解释器”)。

如果面板显示解释器,请选择可用的解释器。如果面板没有解释器选项。请选择第一个项目输入解释器路径

然后将完整的路径粘贴到您的python.exe(或通过选择查找进入Explorer,然后选择您的python.exe < /代码>)。

Use ctrl+shift+p to open the command palette and search for Python:Select Interpreter (or click select interpreter in the lower right corner).

enter image description here

If the panel shows an interpreter, select the available interpreter. If the panel doesn't have an interpreter option. Please select the first item Enter interpreter path.

enter image description here

Then paste the full path to your python.exe (or go to explorer by selecting Find and select your python.exe).

enter image description here

夜雨飘雪 2025-02-13 19:03:05

发生这种情况是因为python不在%路径%环境变量中,在python安装中,它询问您是否想在%路径%变量中添加python,您可能已经错过了它,您可以手动添加python在%path%变量更多信息在这里: https://learn.microsoft.com/en-us/previous-versions/office/develice/developer/sharepoint-2010/ee537574(v = Offical.14)

This happens because Python is not in %PATH% environment variable, in the Python installation, it asks you if you'd like to add Python in the %PATH% variable, you may have missed it, you can manually add Python executable in the %PATH% variable more information here: https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ee537574(v=office.14)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文