I am trying to create a very simple desktop application with one python module in pynsist. Pynsist appears to be functioning correctly, and the application installs correctly. When I try to launch the application from the start menu, it appears to open briefly, but does not execute the script. To test if it was something wrong with my code, or config file, I created a very dumbed down version and am having the same issue. My config file is as follows:
[Application]
name=Please work
version=1.0
entry_point=Test:main
publisher:Company ABC
[Python]
version=3.6.4
bitness=32
[Include]
packages=Test
tkinter
_tkinter
My module "Test.py" is saved in the same folder as the config file and is as follows:
from tkinter import messagebox
def main():
messagebox.showinfo("New Box","Why don't I work?")
main()
This seems like it should be an easy fix, but am I missing something? In going through the message boards, some people appeared to have issues with tkinter; however, I was not getting any errors when pynsist created the application (as other people were getting)
Help is greatly appreciated.
EDIT: upon further investigation, it appears that tkinter though included in the application is not accessible to the installed python version that pynsist includes.