Hallo, guten tag.
py2exe funktioniert mit einem normalen Pythonprogramm, mit Tkinter und wxPython.
Im Ordner sind alle Dateien und die Exe funktioniert.
Wenn ich mit py2exe ein Programm von Matplotlib erzeuge befindet sich nur der Ordner TCL drin , nichts anderes.
So leer sind alle Ordner wenn ich MatPlotlib benutze.
Ich benutze Python 2.7.14
Gruss
py2exe funktioniert nicht mit matplotlib
Dieses Programm funktioniert wenn ich es mit python.exe.... aufrufe.
mit py2exe ist nur der "Tcl -Ordner " in dist, weiter nichts.
Gruss
Code: Alles auswählen
import matplotlib.pyplot as plt
import numpy as np
cvalues = [20.1, 20.8, 21.9, 22.5, 22.7, 22.3, 21.8, 21.2, 20.9, 20.1]
C = np.array(cvalues)
print(C)
plt.plot(C)
plt.show()
Gruss