python - Win7调用flup报错'module' object has no attribute 'fromfd'
PHP中文网
PHP中文网 2017-04-18 10:22:37
0
1
673

Windows使用flup时报错AttributeError: 'module' object has no attribute 'fromfd'
不知道什么原因
flup是成功安装了的。

#!/usr/bin/env python 
#coding=utf-8  

import sys
sys.path.append(r"..")
from my_flask.app.hello import hello_world as app

if __name__ == '__main__':
    from flup.server.fcgi import WSGIServer
    WSGIServer(app,debug=True).run()

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
刘奇

You need to use Python3

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!