windows server 2012 R2 standard 离线 安装 python 3.9.12

2,734 阅读1分钟

一起养成写作习惯!这是我参与「掘金日新计划 · 4 月更文挑战」的第8天,点击查看活动详情

windows server 2012安装 python 3.9.12

下载 python www.python.org/downloads/w…

image.png

安装exe

双击运行 exe

image.png

选择自定义 customize installation image.png 点击 next

image.png

选择好存储路径 , 点击 install image.png

image.png

close

image.png

win+r 输入 cmd 打开 dos窗口 输入 python 回车

image.png

到这里就已经安装成功

0x80070659-系统策略禁止这个安装。请与系统管理员联系。

image.png 点击 logs查看

image.png

[0AC0:04E8][2022-04-15T10:50:08]e000: Error 0x80070659: Failed to install MSI package. [0AC0:04E8][2022-04-15T10:50:08]e000: Error 0x80070659: Failed to configure per-user MSI package. [0AC0:04E8][2022-04-15T10:50:08]i319: Applied execute package: core_JustForMe, result: 0x80070659, restart: None [0AC0:04E8][2022-04-15T10:50:08]e000: Error 0x80070659: Failed to execute MSI package.

修改注册表

有好多,说要打开组策略设置,还要修改注册表,王德发!!!

win+r 输入 gpedit.msc 打开组策略

image.png

计算机策略 -> 管理模板 -> Windows installer -> 禁止用户安装

image.png

改为 未配置或者已禁用

image.png

win+r 输入 regedit 打开 注册表

image.png

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer-->修改DisableMSI为0(不存在则新建)

image.png

image.png

管理员安装

软件右键 以管理员方式运行就阔以安装成功,会场nice

image.png