Py学习  »  问与答

遇到了这样一个问题,求助大神帮忙呐

jlj101014 • 10 年前 • 4108 次点击  

IOError at /main/ [Errno 2] No such file or directory: '/dev/null' Request Method: GET Request URL: http://127.0.0.1:8000/main/ Django Version: 1.5.4 Exception Type: IOError Exception Value:
[Errno 2] No such file or directory: '/dev/null'

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/1078
文章 [ 5 ]  |  最新文章 10 年前
jlj101014
Reply   •   1 楼
jlj101014    10 年前

@lcfcn 谢谢你哈,我的是windows系统,在代码里面发现了使用/dev/null的语句,已经把它改好了,谢谢~

lcfcn
Reply   •   2 楼
lcfcn    10 年前

linux系统才有/dev/null

你贴的信息太少了,可能是使用了只适用于LINUX的package之类的

光凭你给的信息没办法诊断

jlj101014
Reply   •   3 楼
jlj101014    10 年前

@younger.x.shen 拜托您帮我看看问题怎么解决吧,谢谢啦

jlj101014
Reply   •   4 楼
jlj101014    10 年前

@younger.x.shen 不是的,我的是windows系统的,出现这种情况该怎么解决呢,谢谢~

younger.x.shen
Reply   •   5 楼
younger.x.shen    10 年前

你确定你是linux系统?