gpt4 book ai didi

python - Windows 7 和 python 2.7

转载 作者:可可西里 更新时间:2023-11-01 10:37:43 25 4
gpt4 key购买 nike

我想在我的电脑上安装 python 2.7,但是我遇到了问题。我已经从 python 官方网站安装了那个 .msi 文件,现在我有一个文件夹 C:\Python27 。我已经像这样设置了环境变量(系统变量): ....;C:\Python27;C:\Python27\Tools\Scripts 重新启动计算机后,我在命令窗口中键入“python”,但它说:'python' 不是内部或外部命令,也不是可运行的程序或批处理文件。

最佳答案

检查这个 link

Python is not added to the DOS path by default. This screencast will walk you through the steps to add the correct entry to the System Path, allowing Python to be executed from the command-line by all users.

要将 Python 添加到系统变量:(计算机 > 高级系统设置 > 环境变量)您将转到您的 cmd 实例,然后输入 PATH = C:/Python27/

关于python - Windows 7 和 python 2.7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15867520/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com