【问题标题】:Why can't i use py command in Python 3.9.6?为什么我不能在 Python 3.9.6 中使用 py 命令?
【发布时间】:2021-07-24 02:16:55
【问题描述】:

我有 python 3.9.4 然后一切都很好!当我更新到3.9.6 时,我无法使用py 命令。但我可以使用python 命令。有什么解决办法吗?

【问题讨论】:

  • 感谢@PaoloTormon 的回复。我也有 python 启动器。我已经使用 python 一年了,直到现在我还没有遇到过这样的事情。我应该重新安装启动器吗?
  • @KetZoomer 已经有了...

标签: python python-3.9


【解决方案1】:

你可以alias py=python。如果您希望别名保留,您应该将其添加到您的 ~/.bashrc~/.profile 文件中。

【讨论】:

  • 如果您不介意,请说出步骤..
猜你喜欢
  • 1970-01-01
  • 2021-03-23
  • 2017-01-02
  • 1970-01-01
  • 1970-01-01
  • 2020-10-27
  • 2016-10-29
  • 1970-01-01
  • 2018-07-02
相关资源
最近更新 更多