Problemas Instalacion Python en Debian
Pepe Aracil
pepe en diselpro.com
Mie Jul 13 23:23:22 CEST 2005
Opciones:
1) Intenta corregir el SyntaxError en la linea 21 de frmMain.py.
2) Desinstala el vb2py, haz el apt-get upgrade e instala la última
versión de vb2py (si hay alguna más reciente)
3) Mueve temporalmente el directorio vb2py a otro lugar e intenta otra
vez el apt-get upgrade.
Yo me decanto por la opción 1 ;-D
Salud.
Miguel Angel Guerrero wrote:
> Saludos Listeros
>
> Alguien de casualidad a tenido problemas con la actualizacion de
> python en debian, ya que despues de intentar pasar los paquetes de mi
> sarge de abril, a los de stable, se me a reventado el python, y ya e
> intentado actulizarlo con los de testing, incluso con los de unstable,
> pero en todas se me a reventado, el error se da en la compilacion de
> los modulos y en todos es como el siguiente, me disculpo por el texto
> agregado (es una parte del error solo puse lo que crei necesario),
> gracias desde ahora.
>
> Desempaquetando python (de .../python_2.3.5-2_all.deb) ...
> Configurando python2.3 (2.3.5-3) ...
> Compiling python modules in /usr/lib/python2.3 ...
> Compiling /usr/lib/python2.3/site-packages/vb2py/vb/converter/python/frmMain.py
> ...
> File "/usr/lib/python2.3/site-packages/vb2py/vb/converter/python/frmMain.py",
> line 21
> def cmdFromFile_Click(self ):
> ^
> SyntaxError: invalid syntax
>
> /usr/lib/python2.3/site-packages/vb2py/vbconstants.py:148:
> FutureWarning: hex/oct constants > sys.maxint will return positive
> values in Python 2.4 and up
> vbScrollBars = 0x80000000 # Scroll bar color
> /usr/lib/python2.3/site-packages/vb2py/vbconstants.py:149:
> FutureWarning: hex/oct constants > sys.maxint will return positive
> values in Python 2.4 and up
> vbDesktop = 0x80000001 # Desktop color
> /usr/lib/python2.3/site-packages/vb2py/vbconstants.py:150:
> FutureWarning: hex/oct constants > sys.maxint will return positive
> values in Python 2.4 and up
> vbActiveTitleBar = 0x80000002 # Color of the title bar for the active window
> /usr/lib/python2.3/site-packages/vb2py/vbconstants.py:151:
> FutureWarning: hex/oct constants > sys.maxint will return positive
> values in Python 2.4 and up
> vbInactiveTitleBar = 0x80000003 # Color of the title bar for the
> inactive window
> _______________________________________________
> Python-es mailing list
> Python-es en aditel.org
> http://listas.aditel.org/listinfo/python-es
Más información sobre la lista de distribución Python-es