文章详情页
python - Win7调用flup报错’module’ object has no attribute ’fromfd’
浏览:168日期: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 build image失败- npm install]2. docker gitlab 如何git clone?3. node.js - mongoDB使用$gte的问题4. 我在centos容器里安装docker,也就是在容器里安装容器,报错了?5. java中关于直接插入排序遇到的问题。6. java - mybatis怎么实现在数据库中有就修改,没有就添加7. nignx - docker内nginx 80端口被占用8. node.js - nodejs和前端JavaScript 字符串处理结果不一样是什么原因?9. javascript - c#如何向js传值10. docker安装后出现Cannot connect to the Docker daemon.
排行榜
