Detecting user's installed Python/Tkinter packages during install of app

Noble Bell noblebell at gmail.com
Fri Oct 17 03:38:07 CEST 2014


On Thursday, October 16, 2014 5:14:44 PM UTC-5, Skip Montanaro wrote:
> On Thu, Oct 16, 2014 at 4:54 PM, Noble Bell  wrote:
> 
> > If my application uses a version of python/tkinter that is not on the users computer will I be able to detect that during an install and automatically install the proper files silently?
> 
> 
> 
> You mean, like this?
> 
> 
> 
> % python -c 'import _tkinter ; print _tkinter.TCL_VERSION'
> 
> 8.5
> 
> 
> 
> Skip

Not exactly. I mean when a end user is installing my application can the installer detect the presence of the correct version of python and tkinter and if they are not present have the installer silently install them to the users machine.

NB



More information about the Python-list mailing list