文章詳情頁
python - Win7調用flup報錯’module’ object has no attribute ’fromfd’
瀏覽:125日期: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 - css怎么實現圖片環繞的效果2. css - 定位為absolute的父元素中的子元素 如何設置在父元素的下面?3. android - 用textview顯示html時如何寫imagegetter獲取網絡圖片4. javascript - 原生canvas中如何獲取到觸摸事件的canvas內坐標?5. JavaScript事件6. html - css布局 table cellspacing7. 在mac下出現了兩個docker環境8. 注冊賬戶文字不能左右分離9. javascript - jquery hide()方法無效10. html - vue項目中用到了elementUI問題
排行榜
