Ver Mensaje Individual
  #4 (permalink)  
Antiguo 26/08/2011, 08:09
_Adrian_
 
Fecha de Ingreso: septiembre-2010
Mensajes: 525
Antigüedad: 13 años, 7 meses
Puntos: 59
Me di cuenta de que tenía los dlls en C:\Python27\Lib\site-packages\gtk-2.16.6, los copie a la carpeta DLLs de Python27, modifiqué el setup.py agregándole
Código Python:
Ver original
  1. options={"py2exe":{"includes":"cairo,webkit,gio,pango,atk,pangocairo"}}
y ya no me pide dlls.
Pero ahora hay otro problema , cuando quiero ejecutar el .exe, me da este error:
Código Error:
Ver original
  1. C:\Ruta>dist\Programa.exe
  2. C:\Ruta\dist\library.zip
  3. _gtk.py:10: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
  4. ImportError: could not import atk
  5. Traceback (most recent call last):
  6.   File "Programa.py", line 4, in <module>
  7.     import webkit
  8.   File "webkit\__init__.pyc", line 21, in <module>
  9.   File "webkit\webkit.pyc", line 12, in <module>
  10.   File "webkit\webkit.pyc", line 10, in __load
  11. ImportError: DLL load failed: No se puede encontrar el módulo especificado.

__________________
01011111 01000001 01100100 01110010 01101001 01100001 01101110 01011111