7
_tkinter.TclError: pas de nom d'affichage et pas de variable d'environnement $ DISPLAY
J'exécute un simple script python sur le serveur: import matplotlib.pyplot as plt import numpy as np x = np.random.randn(60) y = np.random.randn(60) plt.scatter(x, y, s=20) out_png = 'path/to/store/out_file.png' plt.savefig(out_png, dpi=150) J'essaie d'utiliser la commande python example.pydans ce serveur sur lequel matplotlib 1.5.1 est installé, elle échoue avec l'erreur: Traceback (most …
197
python
matplotlib
tkinter