文章详情页
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()
问题解答
回答1:你需要使用Python3
相关文章:
1. angular.js - angularjs中的$compile怎么理解?2. javascript - 给页面加了动画,在微信浏览器中显示混乱,急救3. java - JSONField接收web提交的Json串,解析key4. javascript - 小白求解:mac 下如何设置nodejs express的 NODE_NEV 环境变量5. javascript - 一个前端的自我修养6. javascript - iview 打包之后 找不到自带的icon图片,而且路径重复,点解7. PHP中文网定制款鼠标垫8. python - 关于爬虫爬取图片的问题?9. python2.7 - 在Eclipse开发Python,怎么去掉控制台输出的其他消息??10. javascript - JSON Web Token 的问题
排行榜
