绝望了一晚上 因为这个错误,在网上扒了半天,终于解决了。
就到错误提示的目录里面找到font_manager.py文件,将其大约在231行左右的direc = os.path.abspath(direc).lower() 改为:direc = direc.split(‘\0’, 1)[0]就可以解决了。
例如我这个错误的目录就是/home/sebar/.local/lib/python3.5/site-packages/matplotlib/font_manager.py将这个修改,再重新启动python就可以了。
Matplotlib is building the font cache using fc-list. This may take a moment解决办法
最新推荐文章于 2024-12-11 23:09:24 发布