【问题标题】:I am trying to run python on cmd but i am getting this error '''' 'py' is not recognised as an internal or external command,operable or batch file [duplicate]我正在尝试在 cmd 上运行 python,但我收到此错误 '''' 'py' is not known as an internal or external command,operable or batch file [重复]
【发布时间】:2017-01-14 15:40:45
【问题描述】:

我正在尝试在 cmd 上运行 python,但出现此错误:

'py' is not recognized as an internal or external command, operable or batch file.

谁能帮帮我?见下图:

【问题讨论】:

  • 尝试“python”而不是“py”
  • 您需要将py 可执行文件添加到您的PATH 环境变量中。

标签: python python-2.7


【解决方案1】:

您应该尝试 pip install blah blah blah 而不是 py。 如果你真的想运行 python ,应该使用 python 而不是 py

【讨论】:

    【解决方案2】:

    也许你应该试试 pip install pyperclippython -m pip install pyperclip

    【讨论】:

      猜你喜欢
      • 2020-12-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-13
      • 2022-01-21
      • 2021-12-10
      • 2021-02-16
      相关资源
      最近更新 更多