今天使用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
解決方法:
這個是因爲計算機名是中文的,我們需要將其更改爲英文的
錯誤成功解決