Open Gabsys opened 2 months ago
i got the same problem @Gabsys, the reason was that I was using a private repo, it was done after I changed my ropo to public
因为你是windows 默认字符集式gbk,读取文件他默认用gbk格式读取。
import builtins
original_open = builtins.open
def patched_open(*args, **kwargs):
kwargs.setdefault('encoding', 'utf-8')
return original_open(*args, **kwargs)
builtins.open = patched_open
运行上面代码改写一下
Expected Behavior
Able to load the chart successfully. It was working in v1.0.20
Current Behaviour
Error of:
Reproducible Example
Environment