Traceback (most recent call last):

 "audioAnalysis.py", line 465, in <module>
speakerDiarizationWrapper(args.input, args.num, args.flsd)

 "audioAnalysis.py", line 229, in speakerDiarizationWrapper
aS.speakerDiarization(input
, numSpeakers, LDAdim=0, PLOT=True)

 "/home/jlopuszanski/projects/diarization-pyAudioAnalysis/pyAudioAnalysis/audioSegmentation.py", line 855, in speakerDiarization
fig = plt.figure()

 "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 423, in figure
**kwargs)

 "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 79, in new_figure_manager
return new_figure_manager_given_figure(num, figure)

 "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", line 87, in new_figure_manager_given_figure
window = Tk.Tk()

 "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1767, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)_tkinter.TclError: no display name and no $DISPLAY environment variable
Traceback (most recent call last):


 "/usr/lib/python3.6/asyncio/events.py", line 127, in _run

self._callback(*self._args)


 "/srv/ha/lib/python3.6/site-packages/homeassistant/core.py", line 1063, in service_executed

fut.set_result(True)
asyncio.base_futures.InvalidStateError: invalid state
