python.exe fastcgi进程意外退出 [英] python.exe the fastcgi process exited unexpectedly

查看:797
本文介绍了python.exe fastcgi进程意外退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些原因,我被困在Windows计算机上使用django.我想知道如何在windows sesrver 2012 r2 with iis 8.5上配置django.因此,我在此处中遵循了教程. 我做了本教程所说的,对于要使用iis运行的任何类型的应用程序,我将做的工作非常简单. 但我收到以下错误the fastcgi process exited unexpectedly. 这是我作为wfastcgi模块的可执行文件提供的内容:

i have some reasons witch i am stuck to use django on windows machine. i was wondering how to configure django on a windows sesrver 2012 r2 with iis 8.5. so i followed the tutorial here. i did what the tutorial says and it is pretty much straight forward what i am gonna do for any kind of application i want to run with iis. but i get the following error the fastcgi process exited unexpectedly. here is what i have provided as executable for wfastcgi module:

E:\venvs\...\Scripts\python.exe|E:\venvs\...\Lib\site-packages\wfastcgi.py

我在|之后删除了wfastcgi.py部分.从处理程序映射和错误更改为脚本处理器找不到fastcgi配置的配置,我发现错误必须与wfastcgi.py文件有关.但我在这里找不到问题.所以我想知道可能是什么问题?我在这里有什么选择. 有没有人能够在Windows机器上使用django? jsut,以防我的python版本是python 3.6

i removed the wfastcgi.py part after | from handler mapping and error changed to script processor could not find the config for fastcgi configuration and i figured out the error must be related to the wfastcgi.py file. but i could not find the issue here. so i was wondering what can be the issue? and what are my options are here. has any one been able to use django on a windows machine?? jsut in case my python version is python 3.6

推荐答案

我遇到了与您完全相同的问题,但是设法使用Python 3.4.2版本解决了这个问题.请遵循本教程中所述的确切步骤

I had the exact same problem as you but managed to solve this by using Python 3.4.2 version. Follow the exact steps as described in this tutorial Django with IIS and avoid using Python 3.5 or above because it seems that there are compatibility issues. The stack I used was IIS version 10, Windows 10, Python 3.4.2 and Django 1.11.2.

这篇关于python.exe fastcgi进程意外退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆