AppInstallerPythonRedirector.exe 安装 emscripten 时停止工作

AppInstallerPythonRedirector.exe has stopped working when installing emscripten

我正在尝试使用本指南安装 emscripten:Download and install — Emscripten 1.39.4 documentation

我运行命令:

emsdk>.\emsdk.bat install latest

结果是这个错误:

我不知道该怎么办。我确实有 python,错误看起来像段错误或未捕获的异常。

好吧,这是一个非常难看的问题。原来 Windows 在 Windows 应用程序的某处有一个 "fake" python.exe,可能是为了要求您安装它。为什么那行不通,我不知道。但正确的解决方案是从官方 python 网站安装 python 并适当更新 windows 环境路径。