[pyar] PyInstaller y matplotlib
Juan Pablo Rabino
jprabino en gmail.com
Mar Mayo 15 16:02:26 ART 2012
Estoy tratando de freezar un programa con PyInstaller, ya que lo
quiero distribuir en Linux. La idea es independizarme lo mas posible
de las dependencias (para poder instalar en una PC, pelada, sin
internet y nueva).
La aplicacion freezada funciona perfecto en la maquina que la generó,
pero al tratar de moverla tengo problemas, sobre todo con matplotlib.
Por ej:
Traceback (most recent call last):
File "<string>", line 50, in <module>
File "/home/juan/Desktop/pyinstaller-1.5.1/iu.py", line 436, in importHook
File "/home/juan/Desktop/pyinstaller-1.5.1/iu.py", line 521, in doimport
File "./SincronizaAC/build/pyi.linux2/SincronizaAC/outPYZ1.pyz/PlottingDialog",
line 17, in <module>
File "/home/juan/Desktop/pyinstaller-1.5.1/iu.py", line 436, in importHook
File "/home/juan/Desktop/pyinstaller-1.5.1/iu.py", line 521, in doimport
File "./SincronizaAC/build/pyi.linux2/SincronizaAC/outPYZ1.pyz/matplotlib.figure",
line 18, in <module>
File "/home/juan/Desktop/pyinstaller-1.5.1/iu.py", line 436, in importHook
File "/home/juan/Desktop/pyinstaller-1.5.1/iu.py", line 521, in doimport
File "./SincronizaAC/build/pyi.linux2/SincronizaAC/outPYZ1.pyz/matplotlib.axes",
line 14, in <module>
File "/home/juan/Desktop/pyinstaller-1.5.1/iu.py", line 436, in importHook
File "/home/juan/Desktop/pyinstaller-1.5.1/iu.py", line 521, in doimport
File "./SincronizaAC/build/pyi.linux2/SincronizaAC/outPYZ1.pyz/matplotlib.axis",
line 10, in <module>
File "/home/juan/Desktop/pyinstaller-1.5.1/iu.py", line 436, in importHook
File "/home/juan/Desktop/pyinstaller-1.5.1/iu.py", line 521, in doimport
File "./SincronizaAC/build/pyi.linux2/SincronizaAC/outPYZ1.pyz/matplotlib.font_manager",
line 1325, in <module>
File "./SincronizaAC/build/pyi.linux2/SincronizaAC/outPYZ1.pyz/matplotlib.font_manager",
line 1275, in _rebuild
File "./SincronizaAC/build/pyi.linux2/SincronizaAC/outPYZ1.pyz/matplotlib.font_manager",
line 962, in __init__
File "./SincronizaAC/build/pyi.linux2/SincronizaAC/outPYZ1.pyz/posixpath",
line 68, in join
AttributeError: 'NoneType' object has no attribute 'endswith'
Alguno tuvo que toparse con esto?
Saludos,
More information about the pyar
mailing list