맥에서 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

1 답변

답변을 하려면 로그인이 필요합니다.

프로그래머스 커뮤니티는 개발자들을 위한 Q&A 서비스입니다. 로그인해야 답변을 작성하실 수 있습니다.

(ಠ_ಠ)
(ಠ‿ಠ)