您的位置:首页技术文章
文章详情页

python - Win7调用flup报错’module’ object has no attribute ’fromfd’

浏览:44日期:2022-09-11 09:59:21

问题描述

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

#!/usr/bin/env python #coding=utf-8 import syssys.path.append(r'..')from my_flask.app.hello import hello_world as appif __name__ == ’__main__’: from flup.server.fcgi import WSGIServer WSGIServer(app,debug=True).run()

python - Win7调用flup报错’module’ object has no attribute ’fromfd’

问题解答

回答1:

你需要使用Python3

标签: Windows系统 win7
相关文章: