SquiggleKit
SquiggleKit copied to clipboard
ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running
I am trying to run segmenter with the following command python segmenter.py -s data.tsv -ku -j 100 > signals_stall_segments.tsv
It is giving following error.
Traceback (most recent call last):
File "segmenter.py", line 4, in
Hello, This is probably because you don't have tkinter installed.
You can either try installing that, or try these 2 solutions.
- comment out line 3 in segmenter.py
#matplotlib.use('TkAgg')
- change line 3 in segmenter.py to
matplotlib.use('Agg')
I hope this helps
James