'lxml'에 해당되는 글 1건



윈도우즈 환경에서 연동하기란 쉽지 않아 보입니다. 그런데 쉽게 설치가능한 실행파일이 있습니다

1. 바이너리로 컴파일된 버전 사이트 --- 퍼옴 ( 추천 )

On Jan 9, 8:19*pm, Stefan Behnel <stefan...@behnel.de> wrote:
> Note that lxml currently lacks binary Windows builds for its latest
> releases. There are eggs for the original 2.3 release, though.


Christoph Gohlke provides a fairly up-to-date set of Python packaged
binaries for Windows 32- & 64-bit.

There are lxml packages for Python 2.6 to 3.2, and 2.5 for 32-bit
only.

http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml

This is a fantastic resource that more Windows-based Python devs
should know about.


2. lxml 소스로 바이너리 생성해서  설치하기

error : Unable to find vcvarsall.bat 라는 메시지가 뜨면 컴파일러가 없어서 발생하는 메시지 입니다. 

컴파일러 미설치시 설치해 줘야 합니다.

MinGw 를 다운로하고 bin 폴더를 Path 로 지정해 줍니다.

python setup.py install build --compiler=mingw32


3. 튜토리얼 사이트

http://lxml.de/tutorial.html

간단하게 엘리먼트는 무엇이고 xml 파일을 가져오고 분석하고 저장하는 방법을 알 수 있는 사이트 입니다.



블로그 이미지

희망잡이

,