>>>import matplotlib.pyplot as plt /usr/lib/python2.7/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
在第八講中,導入這個模塊出錯
解決:
找到緩存目錄 刪除~/.cache/matplotlib下面的緩存
deleted ~/.cache/matplotlib/fontList.cache
但是,當我准備刪的時候,再import matplotlib時時沒有出錯,
不知道具體的原因是什么