文章详情页
python - Win7调用flup报错’module’ object has no attribute ’fromfd’
浏览:224日期: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. docker绑定了nginx端口 外部访问不到2. docker-compose 为何找不到配置文件?3. Docker for Mac 创建的dnsmasq容器连不上/不工作的问题4. dockerfile - [docker build image失败- npm install]5. docker-compose中volumes的问题6. boot2docker无法启动7. docker网络端口映射,没有方便点的操作方法么?8. 关docker hub上有些镜像的tag被标记““This image has vulnerabilities””9. dockerfile - 我用docker build的时候出现下边问题 麻烦帮我看一下10. angular.js使用$resource服务把数据存入mongodb的问题。
排行榜

网公网安备