Feature Requests item #1654408, was opened at 2007-02-07 18:50
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1654408&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Tkinter
>Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ron Adam (ron_adam)
Assigned to: Martin v. Löwis (loewis)
Summary: Installer should split tcl/tk and tkinter install options.

Initial Comment:
On Windows, installing tcl/tk separately without removing tcl/tk from python 
can cause tkinter to be very unstable. These bugs happen even if the versions 
differ by only a minor release number from the version shipped with python.

Selecting to not install tcl/tk with the installer also removes tkinter, and 
idle.  Which is what you don't want in this case.

To be able to use tkinter and idle and a full installation of tcl/tk you need 
to manually remove the following:

 - python/tcl directory
 - python/dlls/tcl84.dll
 - python/dlls/tk84.dll
 - python/dlls/tclpip84.dll

(or the corresponding versions)

And then make sure tcl's bin directory is in the path. 

This also avoids problems resulting from attempting to install tcl extensions 
into the python tcl directory (or tcl into pythons tcl directory) which tends 
to not work. 

Separating the tcl/tk and tkinter/idle in the installer along with adding 
advise on using a separate tcl installation with python would be helpful to 
some people.


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2007-02-08 10:21

Message:
Logged In: YES 
user_id=21627
Originator: NO

Moving it to the feature-requests tracker.

----------------------------------------------------------------------

Comment By: Ron Adam (ron_adam)
Date: 2007-02-08 02:19

Message:
Logged In: YES 
user_id=1687923
Originator: YES

I think part of my problem was because of having python/dlls directory in
windows file path.  So that does explain some of it. Probably due to
following instructions like this.

  
http://mail.python.org/pipermail/python-win32/2002-September/000497.html

It still would be nice to have the option to not install tcl/tk (but keep
tkinter) and use the newest update of tcl with python.

I use BLT to do graphs, and it installs fine if you remove tcl from
python, install tcl and BLT together.  Keeping tcl in python results in the
errors reported in th e above link. And following the advice and adding
python/dlls to the path can result in conflicts.  

Is that clearer.  I know this isn't a common occurrence and not a problem
with python directly.  That's why I listed it as a feature request and not
as a bug.



----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2007-02-07 22:14

Message:
Logged In: YES 
user_id=21627
Originator: NO

I cannot understand why Python's Tkinter becomes unstable when Tcl is
installed, or vice versa. Are you setting any environment variables (like
TCL_HOME)? You should not do that.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1654408&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to