Matplotlib cannot find basic fonts

后端 未结 10 788
一生所求
一生所求 2020-12-08 00:34

I am using matplotlib version 2.0.0 on Python 3 in a miniconda virtual environment. I am working on a unix scientific computing cluster where I don\'t have root privileges.

10条回答
  •  轮回少年
    2020-12-08 00:38

    To get it to work, I had to combine the two current top answers. Here's what worked for me:

    $ sudo apt install msttcorefonts -qq
    $ rm ~/.cache/matplotlib -rf
    

提交回复
热议问题