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

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级讲师

全部回覆(1)
刘奇

你需要使用Python3

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!