I am trying to run a very basic tcl/tk script to make a GUI and I am able to define the window using wm, however when I try to add a button using just "button" it gives me the error "invalid command name "tcl_findLibrary"". Does anyone know what is causing this? I am confident both the tcl and tk are the same version. Someone else suggested that it was a mismatch between versions so I tried having the first line in my script as:
unset env(TCL_LIBRARY)
However this did not change anything. I am writing this script on a piece of hardware that is not my own so I do not have permission to actually change the environment variables. Does anyone have any suggestions?