Use a production WSGI server instead(搭建web網站出現的問題)

今天使用flask來搭建web網站的時候,出現了以下問題

* Serving Flask app "wt" (lazy loading)
* Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.

·······························································

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 2: invalid start byte
 

 

解決方法: 

這個是因爲計算機名是中文的,我們需要將其更改爲英文的

 

錯誤成功解決 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章