-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
natlinkconfig_cli.exe and natlinkconfig_gui.exe break if tck/tk not installed by python installer. #25
Comments
tkinter is a standard python library. How was the python environment installed? We should add tk as a requirement to cover the edge case. |
I uninstalled all versions of Python on my computer, even the ones installed by Visual Studio. I purged the registry of the three relevant nodes. Then I installed the 32-bit Python 3.10.7 executable located where this hyperlink points to. I installed NatLink Core and NatLink in the order and from the sources you pointed me to. Thanks. |
Uninstall Python and try again using the natlink installer? Make sure to delete the python site packages directory This time don't worry about installing natlink core. That's handled by the installer. I just did a clean install with the latest release. Couldn't replicate the issue with the missing TK package. Paying attention to the python install the TK package was installed along with the Python environment. |
Thanks, @LexiconCode. I was resisting the idea of letting NatLink install Python because I have my own preferred location. So after a quick Google I discovered that the installer wizard has a checkbox, "tcl/tk and IDLE", which is required to be checked in order to install tkinter. Therefore, I simply ran the installer again, chose Modify, and checked the checkbox. Bada boom, the configuration programs now work. |
How do we prevent users from running into this? |
I don't know of any other methods except:
Note:
When we have the install documentation we can make a note of this for users. |
I've installed the latest pre-release of NatLink, 5.3.4, which I downloaded from the releases page.
When I run natlinkconfig_cli.exe I get the following:
When I run natlinkconfig_gui.exe, nothing happens.
The text was updated successfully, but these errors were encountered: