简体   繁体   English

无法在 Windows 上安装 python

[英]Unable to install python on Windows

I follow this tut to install python on Windows 7 (64 bit).我按照这个tut在 Windows 7(64 位)上安装 python。 But I get an error: 0x80070643: Failed to Install MSI Package :但我收到一个错误:0x80070643:无法安装 MSI 包 在此处输入图片说明 What's wrong?怎么了? PS The 1st and 3d methods of this guide have not worked for me. PS本指南的 1st 和 3d 方法对我不起作用。

Update更新

Should I tick up Add Python to PATH box?我应该勾选Add Python to PATH框吗? 在此处输入图片说明

Update 2更新 2

I've doanloaded the x86-64 embeddable zip file , unzipped it into Python35 and now it works.我已经加载了x86-64 可嵌入 zip 文件,将其解压缩到 Python35 中,现在它可以工作了。

Close the installation program and follow:关闭安装程序并执行以下操作:

  1. On the desktop, press Windows key + R to open a Run dialog.在桌面上,按Windows 键+ R打开“运行”对话框。
  2. Type msiexec /unreg , and press Enter .键入msiexec /unreg ,然后按Enter 键
  3. Follow the first step again.再次执行第一步。
  4. Type msiexec /regserver , and press Enter .键入msiexec /regserver ,然后按Enter 键

In this link you can find more information.在此链接中,您可以找到更多信息。

Choose 'custom install' & checked all options.选择“自定义安装”并选中所有选项。

If you choose debug option , someone will require you install vs2005 above.如果你选择 debug option ,有人会要求你安装上面的 vs2005。

Click 'next', it'll work for you.点击“下一步”,它会为你工作。

  • Go to Task Manager -> Details Tab -> End Task 'msiexec.exe'转到任务管理器 -> 详细信息选项卡 -> 结束任务“msiexec.exe”
  • Try install again.重新安装试试。

图片

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM