79160692

Date: 2024-11-05 21:15:01
Score: 2
Natty:
Report link

this is really a very annoying issue but there is a solution to it.

import os module and then you have to enter two path variable as follows: Note: please look for the tcl and tk libraries in your python313 folder. and copy the relevant path. for me it can be the fllowing:

import os

os.environ['TCL_LIBRARY'] = r'C:\Users\User1\AppData\Local\Programs\Python\Python313\tcl\tcl8.6'

os.environ['TK_LIBRARY'] = r'C:\Users\User1\AppData\Local\Programs\Python\Python313\tcl\tk8.6'

do it inside the program/script you are writing.

it will defeinitly solve the issue..

get back to me if it doesn't

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): User1
  • User mentioned (0): User1
  • Low reputation (1):
Posted by: ikram ullah