文章详情页
python - Win7调用flup报错’module’ object has no attribute ’fromfd’
浏览:67日期: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. 一个走错路的23岁傻小子的提问2. c++ - win764位环境下,我用GCC为什么指针占8个字节,而long是4个字节?3. html5 - HTML代码中的文字乱码是怎么回事?4. angular.js - angularjs 使用鼠标悬停时,标签一直闪5. java - 安卓电视盒子取得了root权限但是不能安装第三方应用,请问该怎么办?6. javascript - SuperSlide.js火狐不兼容怎么回事呢7. python 计算两个时间相差的分钟数,超过一天时计算不对8. node.js - 函数getByName()中如何使得co执行完后才return9. python - django 里自定义的 login 方法,如何使用 login_required()10. android - 安卓activity无法填充屏幕
排行榜
