Skip to content

ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running #62

@vetmohit89

Description

@vetmohit89

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
import matplotlib.pyplot as plt
File "/home/mbansal/.conda/envs/mlpy/lib/python3.6/site-packages/matplotlib/pyplot.py", line 2336, in
switch_backend(rcParams["backend"])
File "/home/mbansal/.conda/envs/mlpy/lib/python3.6/site-packages/matplotlib/pyplot.py", line 287, in switch_backend
newbackend, required_framework, current_framework))
ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions