SO:
Kali GNU/Linux Rolling \n \l
Linux kali 4.17.0-kali1-amd64 #1 SMP Debian 4.17.8-1kali1 (2018-07-24) x86_64 GNU/Linux
ERROR:
Traceback (most recent call last):
File "danger-zone.py", line 230, in
tools.save_graph(G, domain)
File "/root/Danger-zone/tools.py", line 74, in save_graph
nx.draw(G, with_labels=True) # ,edge_colors=colors)
File "/usr/local/lib/python2.7/dist-packages/networkx/drawing/nx_pylab.py", line 112, in draw
cf = plt.gcf()
File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 586, in gcf
return figure()
File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 535, in figure
**kwargs)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 81, in new_figure_manager
return new_figure_manager_given_figure(num, figure)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 89, in new_figure_manager_given_figure
window = Tk.Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1822, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
SO: Kali GNU/Linux Rolling \n \l Linux kali 4.17.0-kali1-amd64 #1 SMP Debian 4.17.8-1kali1 (2018-07-24) x86_64 GNU/Linux
ERROR:
Traceback (most recent call last): File "danger-zone.py", line 230, in
tools.save_graph(G, domain)
File "/root/Danger-zone/tools.py", line 74, in save_graph
nx.draw(G, with_labels=True) # ,edge_colors=colors)
File "/usr/local/lib/python2.7/dist-packages/networkx/drawing/nx_pylab.py", line 112, in draw
cf = plt.gcf()
File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 586, in gcf
return figure()
File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 535, in figure
**kwargs)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 81, in new_figure_manager
return new_figure_manager_given_figure(num, figure)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 89, in new_figure_manager_given_figure
window = Tk.Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1822, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable