如何使用Windows命令提示符安装Python

是否可以在Windows上从cmd安装Python?如果是这样,怎么办?

解决方法:

https://docs.python.org/3.6/using/windows.html#installing-without-ui

Installing Without UI: All of the options available in the installer UI
can also be specified from the command line, allowing scripted
installers to replicate an installation on many machines without user
interaction. These options may also be set without suppressing the UI
in order to change some of the defaults.

To completely hide the installer UI and install Python silently, pass
the /quiet option. To skip past the user interaction but still display
progress and errors, pass the /passive option. The /uninstall option
may be passed to immediately begin removing Python – no prompt will be
displayed.

All other options are passed as name=value, where the value is usually
0 to disable a feature, 1 to enable a feature, or a path.

上一篇:Python 3安装失败“注册的键集无效”


下一篇:(二) Raspberry Pi 4B 4G 安装系统,填过的坑