1、gpgme.h: No such file or directory
yum -y install gpgme-devel
2、attr/xattr.h: No such file or directory
yum -y install libattr-devel
3、xslt-config: command not found
yum <span class="hljs-keyword">install</span> libxml2 libxslt libxslt-devel
4、ReadTimeoutError: HTTPSConnectionPool(host=’pypi.python.org’, port=443): Read
pip --default-timeout=300 install 包名
5、glib-2.0 was not found
yum -y install libgnomeui-devel
6、The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source
yum -y install zlib-devel libjpeg-turbo-devel
7、No package ‘gobject-introspection-1.0’ found
centos: yum -y install
gobject-introspection-devel
ubuntu: yum -y install libgirepository1.0-dev
8、No module named ‘_ctypes’
yum install libffi-devel -y