The Complete Project Source Code Platform

Kashipara.com is a community of ONE million programmers and students, Just like you, Helping each other.Join them. It only takes a minute: Sign Up

Job Resume Template

Error in Source Code

  prabathb    2023-10-24 07:53:48

0

0


how to resolve this error TclError Traceback (most recent call last) <ipython-input-5-272ebe03baf0> in <cell line: 2>() 1 from tkinter import * ----> 2 root = Tk() 3 def send(): 4 send = "You:"+ e.get() 5 text.insert(END," " + send) /usr/lib/python3.10/tkinter/__init__.py in __init__(self, screenName, baseName, className, useTk, sync, use) 2297 baseName = baseName + ext 2298 interactive = False -> 2299 self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) 2300 if useTk: 2301 self._loadtk() TclError: no display name and no $DISPLAY environment variable

Answers

Post Your answer