[pyar] Instalar PyQt4 en xubuntu

Rafael Moyano moyanor en gmail.com
Dom Jun 21 02:29:24 ART 2015


Como mencionó Javier antes, te falta instalar el paquete python-dev y una
vez instalado deberías tener la librería sip en
/usr/lib/python2.7/dist-packages/


2015-06-20 21:38 GMT-03:00 JOSE ENRIQUE <boschenrique en gmail.com>:

> excelente, gracias.
>
> El 20 de junio de 2015, 11:57, Javier Marcon <javiermarcon en gmail.com>
> escribió:
>
>>  El 19/06/15 a las 22:19, Isidoro Cañones escibió:
>>
>>  El 18 de junio de 2015, 14:34, Bruno Tenaglia <
>> brunomartintenaglia en gmail.com> escribió:
>>
>>> Hola, mirate este video, está explicado a la perfección, y ahí te
>>> explica cuando te falta el paquete SIP,
>>> lo podes encontrar aca
>>> http://www.riverbankcomputing.com/software/sip/download
>>>
>>>  https://www.youtube.com/watch?v=PgXmIoPNQtM
>>>
>>>  Tene en cuenta que también necesitas instalarte el qt4-designer, eso
>>> instalalo directamente con apt-get.
>>>
>>>  Espero que te sea útil
>>>
>>
>>  Buenas noches Bruno, estuve siguiendo los pasos del video y el problema
>> lo tengo al instalar el sip
>>  Pero no se a que se debe y el error no me da una pista de que puede
>> estar mal.
>>  Acá dejo una copia de los pasos que segui.
>>
>> isidoro en servidor:~/tools/Programacion/PyQt/sip-4.16.8$ python
>> configure.py
>> This is SIP 4.16.8 for Python 2.7.3 on linux2.
>> The SIP code generator will be installed in /usr/bin.
>> The sip module will be installed in /usr/lib/python2.7/dist-packages.
>> The sip.h header file will be installed in /usr/include/python2.7.
>> The default directory to install .sip files in is /usr/share/sip.
>> Creating siplib/sip.h...
>> Creating siplib/siplib.c...
>> Creating siplib/siplib.sbf...
>> Creating sipconfig.py...
>> Creating top level Makefile...
>> Creating sip code generator Makefile...
>> Creating sip module Makefile...
>> isidoro en servidor:~/tools/Programacion/PyQt/sip-4.16.8$ make
>> make[1]: se ingresa al directorio
>> «/home/isidoro/tools/Programacion/PyQt/sip-4.16.8/sipgen»
>> gcc -c -pipe -O2 -w -DNDEBUG -I. -o main.o main.c
>> gcc -c -pipe -O2 -w -DNDEBUG -I. -o transform.o transform.c
>> gcc -c -pipe -O2 -w -DNDEBUG -I. -o gencode.o gencode.c
>> gcc -c -pipe -O2 -w -DNDEBUG -I. -o extracts.o extracts.c
>> gcc -c -pipe -O2 -w -DNDEBUG -I. -o export.o export.c
>> gcc -c -pipe -O2 -w -DNDEBUG -I. -o heap.o heap.c
>> gcc -c -pipe -O2 -w -DNDEBUG -I. -o parser.o parser.c
>> gcc -c -pipe -O2 -w -DNDEBUG -I. -o lexer.o lexer.c
>> g++  -o sip main.o transform.o gencode.o extracts.o export.o heap.o
>> parser.o lexer.o
>> make[1]: se sale del directorio
>> «/home/isidoro/tools/Programacion/PyQt/sip-4.16.8/sipgen»
>> make[1]: se ingresa al directorio
>> «/home/isidoro/tools/Programacion/PyQt/sip-4.16.8/siplib»
>> gcc -c -pipe -fPIC -O2 -w -DNDEBUG -I. -I/usr/include/python2.7 -o
>> siplib.o siplib.c
>> siplib.c:20:20: error fatal: Python.h: No existe el archivo o el
>> directorio
>> compilación terminada.
>> make[1]: *** [siplib.o] Error 1
>> make[1]: se sale del directorio
>> «/home/isidoro/tools/Programacion/PyQt/sip-4.16.8/siplib»
>> make: *** [all] Error 2
>> isidoro en servidor:~/tools/Programacion/PyQt/sip-4.16.8$
>>
>>  Saludos.
>>
>>  Te falta instalar el paquete libpython2.7-dev o libpython3-dev (segun
>> si tenes python 2 o python 3). Podes instalar python-dev que tiene como
>> depedencia libpython-dev
>>
>> Saludos,
>>
>> Javier.
>>
>> _______________________________________________
>> pyar mailing list pyar en python.org.ar
>> http://listas.python.org.ar/listinfo/pyar
>>
>> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>>
>> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de
>> Argentina - http://www.usla.org.ar
>>
>
>
>
> --
> José Enrique Bosch
> tel. 4432-4571
>
> _______________________________________________
> pyar mailing list pyar en python.org.ar
> http://listas.python.org.ar/listinfo/pyar
>
> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>
> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de
> Argentina - http://www.usla.org.ar
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20150621/10240f2b/attachment-0001.html>


More information about the pyar mailing list