安装Python包python-pptx须要用到lxml,而安装lxml报错:python
fatal error: 'libxml/xmlversion.h' file not found
解决方法:xcode
xcode-select --install
安装完commandline tool for xcode后,在安装就不会出错了。ide