运行bokeh服务器出现gbk codec can't decode byte 0xb0 in position 342: illegal multibyte sequence

解决成功

只需要把代码文件 记事本打开后另存为编码处改成ANSI,读取文件的地方不需要写编码格式,写了也会错误,只需要改编码为ANSI就可以了

 

 

运行bokeh服务器把文件放在cmd上面的地址文件下面就可以了,之后输入bokeh serve --show (这个地方就是文件名)bokeh serve --show insurance_graph1.py              

例如

bokeh serve --show bokeh serve --show insurance_graph1.py

posted @ 2019-08-15 00:19  大度看世界  阅读(206)  评论(0编辑  收藏  举报