0

I can't get idle to run on my linux system. I get the following:

Traceback (most recent call last):
  File "/usr/bin/idle3", line 5, in <module>
    main()
  File "/usr/lib/python3.5/idlelib/PyShell.py", line 1544, in main
    root = Tk(className="Idle")
  File "/usr/lib/python3.5/tkinter/__init__.py", line 1871, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
Kulfy
  • 18,154
AndrewE
  • 1
  • 1

1 Answers1

0

Open a terminal and run this command :export DISPLAY=:0.0

For more details, you can read this answer

GGJON
  • 156