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
 

 

解决方法: 

这个是因为计算机名是中文的,我们需要将其更改为英文的

 

错误成功解决 

扫描二维码关注公众号,回复: 13136936 查看本文章

猜你喜欢

转载自blog.csdn.net/weixin_43717681/article/details/106161839