Centos安裝Pillow模塊出錯解決辦法

http://pillow.readthedocs.io/en/4.3.x/installation.htmlhtml

今天在新的電腦上安裝Pilow,發現報錯(主要錯誤):python

The headers or library files could not be found for zlib,bash

a required dependency when compiling Pillow from source.ui

 

其實就是缺乏一些相關的依賴,上網查了下,發現安裝如下依賴就OK了:htm

sudo yum install python-devel
sudo yum install zlib-devel
sudo yum install libjpeg-turbo-devel
相關文章
相關標籤/搜索