Pillow: The _imagingft C module is not installed

Ubuntu16.04 python3 下運行腳本的時候出現這種報錯,試了很多方法,apt update等,但是都不行.

 參考了很多博客,最後得以成功解決:

sudo apt-get install libfreetype6-dev

pip uninstall pillow
pip install --no-cache-dir pillow

 

參考1

參考2

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章