您的位置:首頁技術文章
文章詳情頁

python - Win7調用flup報錯’module’ object has no attribute ’fromfd’

瀏覽:100日期: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()

python - Win7調用flup報錯’module’ object has no attribute ’fromfd’

問題解答

回答1:

你需要使用Python3

標簽: Windows系統 win7
相關文章:
国产综合久久一区二区三区