Ver Mensaje Individual
  #5 (permalink)  
Antiguo 16/04/2013, 01:40
Zeronomi
 
Fecha de Ingreso: enero-2013
Mensajes: 30
Antigüedad: 11 años, 10 meses
Puntos: 0
Respuesta: KML Converter

Gracias por las respuestas Razpeitia.

Aún no he conseguido hacerme con el dichoso pyKML. Resulta que cuando en mi línea de comandos escribo lo de 'pip install pyKML' me devuelve un error de SSL:


Código:
pip install pyKML
Downloading/unpacking pyKML
  Could not fetch URL https://pypi.python.org/simple/pyKML/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:503: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm>
Will skip URL https://pypi.python.org/simple/pyKML/ when looking for download links for pyKML

Could not fetch URL https://pypi.python.org/simple/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:503: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm>
Will skip URL https://pypi.python.org/simple/ when looking for download links for pyKML

Cannot fetch index base URL https://pypi.python.org/simple/

Could not fetch URL https://pypi.python.org/simple/pyKML/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:503: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm>

Will skip URL https://pypi.python.org/simple/pyKML/ when looking for download links for pyKML

Could not find any downloads that satisfy the requirement pyKML
No distributions at all found for pyKML 

¿Alguna idea de cómo solucionarlo? ¡Gracias!

Edito:

Al intentar seguir los pasos de el link que me dejaste me salta otro error de consola:

Cita:
Thanks to @jessenoller on Twitter I have an answer that fits my needs - you can compile lxml with static dependencies, hence avoiding messing with the libxml2 that ships with OS X. Here's what worked for me:

Código:
cd /tmp
wget http://lxml.de/files/lxml-2.2.2.tgz
tar -xzvf lxml-2.2.2.tgz 
cd lxml-2.2.2
python setup.py build --static-deps --libxml2-version=2.7.3  --libxslt-version=1.1.24 
sudo python setup.py install
Código:
$ wget http://lxml.de/files/lxml-2.2.2.tgz
-bash: wget: command not found
__________________
Hello World!

Última edición por Zeronomi; 16/04/2013 a las 01:47