简体   繁体   English

Web平台安装程序:Python Installer-下载的文件未通过签名验证,并且可能已被篡改

[英]Web Platform Installer: Python Installer - Downloaded file failed signature verification and may have been tampered with

I'm trying to install WFastCGI 2.1 Gateway for IIS and Python 3.4 via the Web Platform Installer in Microsoft Server Manager's IIS Manager. 我正在尝试通过Microsoft服务器管理器的IIS管理器中的Web平台安装程序为IIS和Python 3.4安装WFastCGI 2.1网关。

Python Installer fails with the error: "This product did not install successfully: Downloaded file failed signature verification and may have been tampered with". Python Installer失败,并显示以下错误:“此产品未成功安装:下载的文件签名验证失败,并且可能已被篡改”。 Python 3.4.2 (32-bit) and WFastCGI 2.1 Gateway for IIS and Python 3.4 subsequently fail with the error: "This product cannot be installed because a product that it depends on did not install successfully". 用于IIS和Python 3.4的Python 3.4.2(32位)和WFastCGI 2.1网关随后失败,并显示以下错误:“无法安装此产品,因为它依赖的产品未成功安装”。

I noticed that the direct download link in the prerequisites tab launches this URL , which explains that pytools has been migrated to PTVS. 我注意到先决条件选项卡中的直接下载链接启动此URL ,这说明pytools已迁移到PTVS。 Maybe this is part of the problem? 也许这是问题的一部分?

I'm following this tutorial about deploying a Flask web app on IIS. 我正在学习有关在IIS上部署Flask Web应用程序的教程 Please help me find solutions to make this installation successful or provide alternatives that will allow me to deploy on IIS. 请帮助我找到使安装成功的解决方案,或者提供其他替代方法,使我可以在IIS上进行部署。 Thank you! 谢谢!

I had the exact same issue, and as mgrollins mentioned on his comment, using wfastcgi directly is the solution. 我有完全相同的问题,正如mgrollins在他的评论中提到的那样,直接使用wfastcgi是解决方案。

In my case I followed a very similar tutorial ( here ) up to where you finish installing IIS, then instead of installing the Web Platform Installer, I downloaded Python from python.org, installed it (for all users and adding to PATH), performed the "Downloading Package" and "Enabling wfastcgi" steps from the wfastcgi project page, https://pypi.org/project/wfastcgi/ , meaning: 就我而言,我遵循了一个非常类似的教程( 此处 ),直到您完成IIS的安装为止,然后我从python.org下载了Python(适用于所有用户并添加到PATH),而不是安装Web Platform Installer,而是进行了安装。 wfastcgi项目页面https://pypi.org/project/wfastcgi/中的“下载软件包”和“启用wfastcgi”步骤,即:

pip install wfastcgi 

wfastcgi-enable

After that you can continue following the tutorial from where it says "Setup your site - copy the wfastcgi.py " . 之后,您可以继续从教程中说“设置您的站点-复制wfastcgi.py”。 (I found the wfastcgi.py file on the Scripts folder of the Python Install directory) (我在Python Install目录的Scripts文件夹中找到了wfastcgi.py文件)

Another item worth mentioning, during “Add Module Mapping” there should be a | 另一个值得一提的项目是,在“添加模块映射”期间,应该有一个|。 between the Python.exe and your site directory, if you miss it the side won't load, so for example it should look like: 在Python.exe和您的站点目录之间,如果您错过它,则该侧将不会加载,因此例如,它应如下所示:

C:\Program Files\Python36\python.exe|C:\inetpub\wwwroot\mysite\wfastcgi.py

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

相关问题 PHP 管理器 - 下载的文件未能通过签名验证 - PHP Manager - Downloaded file failed signature verification Microsoft Web Platform Installer 4.0失败 - Microsoft Web Platform Installer 4.0 fail 使用Web平台安装程序安装NopCommerce - Installing NopCommerce using the Web Platform installer Web平台安装程序中包含的程序是否全部免费? - Are the programs included in the Web Platform Installer all free? Web 平台安装程序:PHP 7.4 的 Windows 缓存扩展 2.0 安装失败 - Web Platform Installer: Windows Cache Extension 2.0 for PHP 7.4 failed to install Web平台安装程序-自定义Web应用程序安装UI - Web Platform Installer - Customize Web Application Installation UI Web平台安装程序:在此计算机上找到了较新版本的IIS 8.0 Express - Web Platform Installer: A newer version of IIS 8.0 Express was found on this machine Windows XP上的Web平台安装程序。 IIS仍然瘫痪? - Web Platform Installer on Windows XP. IIS still crippled? Web平台安装程序-IIS7.0中的特定应用程序池 - Web Platform Installer - Specific Application Pool in IIS7.0 IIS Web平台安装程序错误:'doctype'是意外的令牌。 预期的令牌为“ DOCTYPE”。 1号线,位置3 - IIS Web Platform Installer Error: 'doctype' is an unexpected token. The expected token is 'DOCTYPE'. Line 1, position 3
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM