Skip to content

no display env var #1

@anuj509

Description

@anuj509

no display name and no $DISPLAY environment variable

Traceback (most recent call last):
File "main.py", line 22, in
run();
File "main.py", line 17, in run
plate.plateSearch(characters_array);
File "/home/shah256/LiPlate/modules/Plate.py", line 39, in plateSearch
self.showResults();
File "/home/shah256/LiPlate/modules/Plate.py", line 139, in showResults
plt.figure(self.plate_number);
File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 548, in figure
**kwargs)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/backend_bases.py", line 161, in new_figure_manager
return cls.new_figure_manager_given_figure(num, fig)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/_backend_tk.py", line 1044, in new_figure_manager_given_figure
window = Tk.Tk(className="matplotlib")
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1818, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable

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