Skip to content

Instantly share code, notes, and snippets.

@rudSarkar
Created May 18, 2019 13:09
Show Gist options
  • Save rudSarkar/bb1e3c18789a1c76dc4a50b3eaefbee1 to your computer and use it in GitHub Desktop.
Save rudSarkar/bb1e3c18789a1c76dc4a50b3eaefbee1 to your computer and use it in GitHub Desktop.
IDLE will not launch/Tcl install error Fix

If you use set TCL_LIBRARY=C:\Program Files\Python 3.5\tcl\tcl8.6 set the TCL_LIBRARY for current command session.So when you close your command prompt then it's not work. So the fix is go to System -> Advance System Setting -> Environment Variables

and set variables for user

    Variables name: TCL_LIBRARY
    Variables value: C:\Program Files\Python 3.5\tcl\tcl8.6

Then click ok, your setting saved.Now close the current command prompt open new command prompt and try

C:\Program Files\Python 3.5\Lib\idlelib>python idle.py

it will work.

Thanks

@AnikHasibul
Copy link

For Linux users:

rm -rf $HOME/*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment