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

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

répondre à tous(1)
刘奇

Vous devez utiliser Python3

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!