文章详情页
python - Win7调用flup报错’module’ object has no attribute ’fromfd’
浏览:98日期: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. css3 - 微信前端页面遇到的transition过渡动画的bug2. javascript - 请教如何获取百度贴吧新增的两个加密参数3. 网页爬虫 - Python 爬虫中如何处理验证码?4. mysql - 分库分表、分区、读写分离 这些都是用在什么场景下 ,会带来哪些效率或者其他方面的好处5. Python爬虫如何爬取span和span中间的内容并分别存入字典里?6. javascript - 关于css绝对定位在ios浏览器被橡皮筋遮挡的问题7. mysql 一个sql 返回多个总数8. css - input间的间距和文字上下居中9. (python)关于如何做到按win+R再输入文件文件名就可以运行?10. Python如何播放还存在StringIO中的MP3?
排行榜
