install lxml 2.3 com o python 3.2 no osx 10.6.8

1

Eu tentei muitas vezes, mas ainda não consigo descobrir como instalar o lxml em python 3.2

Estou usando o mac osx 10.6.8, gcc versão 4.2.1

Eu instalo o lxml usando o seguinte comando

python3.2 setup.py build --static-deps

Sempre recebi erros quando

src/lxml/lxml.etree.c: In function ‘__Pyx_PyIndex_AsSsize_t’:
src/lxml/lxml.etree.c:161563: error: ‘x’ undeclared (first use in this function)
src/lxml/lxml.etree.c:161563: error: ‘b’ undeclared (first use in this function)
src/lxml/lxml.etree.c:161565: error: invalid lvalue in assignment
src/lxml/lxml.etree.c:161566: error: syntax error before ‘)’ token
src/lxml/lxml.etree.c:161566: error: syntax error before ‘)’ token
src/lxml/lxml.etree.c:161566: error: syntax error before ‘)’ token
src/lxml/lxml.etree.c:161566: error: syntax error before ‘)’ token
src/lxml/lxml.etree.c:161566: error: syntax error before ‘)’ token
src/lxml/lxml.etree.c: At top level:
src/lxml/lxml.etree.c:161570: error: syntax error before ‘*’ token
src/lxml/lxml.etree.c:161570: error: syntax error before ‘ival’
src/lxml/lxml.etree.c: In function ‘__Pyx_PyInt_FromSize_t’:
src/lxml/lxml.etree.c:161580: error: ‘ival’ undeclared (first use in this function)
src/lxml/lxml.etree.c: At top level:
src/lxml/lxml.etree.c:161584: error: syntax error before ‘__Pyx_PyInt_AsSize_t’
src/lxml/lxml.etree.c:161584: error: syntax error before ‘*’ token
src/lxml/lxml.etree.c: In function ‘__Pyx_PyInt_AsSize_t’:
src/lxml/lxml.etree.c:161585: error: ‘x’ undeclared (first use in this function)
src/lxml/lxml.etree.c:161588: error: syntax error before ‘val’
src/lxml/lxml.etree.c:161593: error: syntax error before ‘val’
lipo: can't figure out the architecture type of: /var/folders    /3o/3ozga0d2GXy7aa8oMPgJNU+++TI/-Tmp-//ccr3DFwu.out
error: command 'gcc-4.0' failed with exit status 1

Alguma sugestão?

    
por Tester 22.09.2011 / 05:34

0 respostas