文章详情页
python - Win7调用flup报错’module’ object has no attribute ’fromfd’
浏览:234日期: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()

问题解答
回答1:你需要使用Python3
相关文章:
1. javascript - js输入框限定字数问题2. php - 微信开发验证服务器有效性3. css3 - 微信前端页面遇到的transition过渡动画的bug4. javascript - Ajax返回json格式之后的数据解析后取出来的数据为undefined?5. javascript - jquery选择的dom元素如何更新?6. 网页爬虫 - 关于Python的编码与解码问题7. javascript - Webapp 关闭后重新打开无需登录如何操作?8. python如何设置一个随着系统时间变化的动态变量?9. 个人主页博客统计中的“进入博客”不能点击10. Browser-sync安装失败问题
排行榜

网公网安备