在python工程的虚拟空间环境里:
1.SimHei.ttf 文件拷贝到指定的ttf文件夹之下。
2.在matplotlibrc 末尾添加如下几行。
3.清除缓存 rm -rf /root/.cache/matplotlib 文件夹。
4.reboot服务器。
参考链接
欢迎分享,转载请注明来源:内存溢出
在python工程的虚拟空间环境里:
1.SimHei.ttf 文件拷贝到指定的ttf文件夹之下。
2.在matplotlibrc 末尾添加如下几行。
3.清除缓存 rm -rf /root/.cache/matplotlib 文件夹。
4.reboot服务器。
参考链接
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)