맥에서 Lxml 설치가 안돼요
조회수 2445회
발생하는 문제 및 실행환경
Scrapy설치하기 전에 Lxml이 필요한데 자꾸 에러가 뜹니다
libxml2랑 libxslt도 brew install된거 확인해봤는데 둘 다 잘돼있습니다.
어떡하면 좋을까요
에러내용
In file included from src/lxml/lxml.etree.c:314:
/private/tmp/pip_build_root/lxml/src/lxml/includes/etree_defs.h:9:10: fatal error: 'libxml/xmlversion.h' file not found
#include "libxml/xmlversion.h"
^
1 error generated.
error: command 'cc' failed with exit status 1
댓글 입력