美文网首页
Apache-win10配置报错

Apache-win10配置报错

作者: 锦绣拾年 | 来源:发表于2020-04-27 16:58 被阅读0次

报错:
[Mon Apr 27 16:45:04.679242 2020] [cgi:error] [pid 13664:tid 1056] (OS 2)The system cannot find the file specified. : [client ::1:30396] couldn't create child process: 720002: ex.py
[Mon Apr 27 16:45:04.679242 2020] [cgi:error] [pid 13664:tid 1056] (OS 2)The system cannot find the file specified. : [client ::1:30396] AH01223: couldn't spawn child process: D:/Apache/LL/Apache24/cgi-bin/ex.py
原因 程序中Python解释器没有指明,在Python文件第一行,注释那一行,开始没有指定
(我真是个憨憨)

#!D:\Program Files (x86)\Python\Python\python.exe
#coding:utf-8
#author:yongbosamrt

如果遇到中文乱码 把print后相关utf-8的都去掉

相关文章

网友评论

      本文标题:Apache-win10配置报错

      本文链接:https://www.haomeiwen.com/subject/oykuwhtx.html