Errores con Matplotlib al crear un ejecutable con Py2exe (Python)
Tengo un problema al intentar hacer un ejecutable con una aplicación de Python.
Para hacer esto, estoy usando Py2exe con la versión 2.7 de Python.
Mi aplicación tiene 3 scripts de Python -> IHM_monotone_flux_GTC.py que es el que inicia una interfaz gráfica
y luego otros 2 scripts: -> lectureDonnees.py -> main.py
Para crear un ejecutable hice un archivo setup.py que seguramente está incompleto:
de distutils.core importar configuración importar py2exe
configuración (windows = ['IHM_monotone_flux_gtc.py'])
Desafortunadamente, no funciona y recibí este mensaje de error:
Traceback (most recent call last):
File "IHM_monotone_flux_gtc.py", line 16, in <module>
File "main.pyc", line 22, in <module>
File "matplotlib\__init__.pyc", line 838, in <module>
File "matplotlib\__init__.pyc", line 749, in rc_params
File "matplotlib\__init__.pyc", line 664, in matplotlib_fname
File "matplotlib\__init__.pyc", line 292, in wrapper
File "matplotlib\__init__.pyc", line 585, in _get_data_path_cached
File "matplotlib\__init__.pyc", line 581, in _get_data_path
RuntimeError: Could not find the matplotlib data files
Gracias por cualquier ayuda. (Estoy trabajando con Windows XP)
Cédric.