我正尝试按照提供的说明使用 IIS 8 运行我的 python(3) Web 服务 here 一切都很好,我尝试在“添加模块映射”部分添加“FastCgi 模块”。问题是当我在“添加模块映射”窗口中单击确定时,弹出错误:
The specified executable for the handler must be .dll or .exe file. If the path to the script processor (only in the case of a .exe file) has spaces, use " marks to specify the executable.
我想一定有 FastCgi.dll 吧?
有没有更好的方法来实现它?
P.S:我已经阅读了大量关于使用 ISAPI_WSGI 处理程序在 IIS 上运行 python 2.6 web 服务的说明,并且有关于在以后的 python 版本上使用它的警告,我想知道这些说明是否适用于 python 3.3.6。
请您参考如下方法:
当您添加可执行文件设置时,它必须是可执行文件,这意味着它必须是 .exe 或 .dll。如果您查看说明中的图片,您会在那里看到一个可执行文件 (python.exe)。
如果您不提供可执行文件的路径,将弹出指定可执行文件必须是 .dll 或 .exe 的错误。确保您指的是那里的可执行文件,然后它应该没问题。
