无法在命令行中运行python3。

huangapple go评论78阅读模式
英文:

Can't run python3 in command line

问题

我已经在我的Windows上从官方网站安装了Python 3.11,但当我想在命令行中输入"python3"来运行它时,它不会为我运行Python;相反,它会打开Microsoft商店让我下载Python!

我尝试重新安装它,但没有解决。在安装之前或安装过程中是否有遗漏的步骤?

英文:

I have installed python 3.11 on my Widnows from its official website, and when I want to run it in command line by typing "python3" it doesn't run Python for me; Instead it opens Microsoft store for me to download Python!

I tried reinstalling it but it didn't fix. Did I miss anything before installing or in the installation process?

答案1

得分: -2

如果你确定你已经安装了Python,只需要将Python添加到Windows路径,然后Windows就会知道Python的位置。

英文:

If you are sure you installed the python you just need to add your python to your windows path, then windows would know where is the python

huangapple
  • 本文由 发表于 2023年5月6日 19:38:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/76188656.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定