今天使用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
解决方法:
这个是因为计算机名是中文的,我们需要将其更改为英文的
错误成功解决