文章详情页
python - Win7调用flup报错’module’ object has no attribute ’fromfd’
浏览:268日期: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. dockerfile - 为什么docker容器启动不了?2. web服务器 - ubuntu下布置apache加wsgi加python3. css - 图片的宽度发生变化而高度却没有相应变?4. tp6 事务闭包操作问题5. 关docker hub上有些镜像的tag被标记““This image has vulnerabilities””6. docker 17.03 怎么配置 registry mirror ?7. javascript - sublime快键键问题8. css3 - 背景图自定义比例缩小9. docker gitlab 如何git clone?10. docker - 如何修改运行中容器的配置
排行榜

网公网安备