如何在 Windows 中将 python 添加到 cmd [英] How can I add python to cmd in windows

查看:59
本文介绍了如何在 Windows 中将 python 添加到 cmd的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了 python 3.1,并且我也将它添加到了系统路径中.现在我可以打开cmd"并输入python来启动python,但是每当我尝试使用(shift+右键单击->在此处打开命令提示符)在特定目录中打开cmd并输入python时,它会显示找不到命令!

I have python 3.1 installed, and I have added it to the system path too. Now I can open "cmd" and type python to start python, but whenever I try to open cmd in a specific directory by using (shift + right click -> open command prompt here), and type python, it says "command not found"!

我该如何解决这个问题?

How can I fix this?

推荐答案

您需要设置 环境变量.

这篇关于如何在 Windows 中将 python 添加到 cmd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆