fatal error: 'libxml/xmlversion.h' file not found
2014-09-15 21:33
786 查看
问题:
MACOS安装scrapy时,安装lxml出现错误
In file included from src/lxml/lxml.etree.c:232:
/tmp/easy_install-O2UfP7/lxml-3.4.0/src/lxml/includes/etree_defs.h:14:10: fatal error: 'libxml/xmlversion.h' file not found
#include "libxml/xmlversion.h"
^
1 error generated.
error: Setup script exited with error: command 'cc' failed with exit status 1
解决方法:
xcode-select --install
MACOS安装scrapy时,安装lxml出现错误
In file included from src/lxml/lxml.etree.c:232:
/tmp/easy_install-O2UfP7/lxml-3.4.0/src/lxml/includes/etree_defs.h:14:10: fatal error: 'libxml/xmlversion.h' file not found
#include "libxml/xmlversion.h"
^
1 error generated.
error: Setup script exited with error: command 'cc' failed with exit status 1
解决方法:
xcode-select --install
相关文章推荐
- 安装PIL 点滴 fatal error: 'freetype/fterrors.h' file not found
- Delphi7 [Fatal Error] ClassPas.pas(8): File not found: 'DesignIntf.dcu'
- fatal error: 'gnu/stubs-soft.h' file not found
- 'libxml/tree.h' file not found
- delphi2007安装DBGridEh1.1.4时提示File not found: 'DBSumLst.dcu'的解决方法
- 【解决方法】macOS 安装Resin失败:fatal error: 'openssl/ssl.h' file not found
- '*.h' file not found
- 'cassert' file not found
- fatal error: 'XCTest/XCTest.h' file not found
- File not found: '*.dcu错误
- 'libxml/tree.h' file not found
- 'XCTest/XCTest.h' file not found
- 'libxml/tree.h' file not found
- SVN 打包时,出现File not found: transaction '148-48', path ''https://xxxxxx/svn/xxxxx/tag/2017-9-30'
- ReactNative--坑--'React/RCTBridgeModule.h' file not found
- fatal error: 'openssl/err.h' file not found
- fatal error: 'TargetConditionals.h' file not found
- Scrapy安装过程中出现“'libxml/xmlversion.h' file not found“报错的处理方法
- 解决fatal error: 'ffi.h' file not found
- mac编译openssl扩展报错 openssl.c:44:10: fatal error: 'openssl/evp.h' file not found