macOS下安装lxml的问题解决

安装Python包python-pptx须要用到lxml,而安装lxml报错:python

fatal error: 'libxml/xmlversion.h' file not found

解决方法:xcode

xcode-select --install

安装完commandline tool for xcode后,在安装就不会出错了。ide

相关文章
相关标签/搜索