I solved the TK mystery.  Didn't notice you're now including TK as a part of
the install.  After I installed AP 2.1, I immediately used pyppm to install
TK!  This caused the problem. Mixed versions of TK. Which brings up a couple
of points.

1) To really make pyppm safe to use, it looks to me like it will need to
include version control.

2) There was no solution except to uninstall AP 2.1.  I (again) really wish
you would include a "re-install all" option in ActivePython because (once
again) the 'repair' option failed to correct the problem.  Also, unlike
Perl's ppm, Python pyppm has no 'remove' package option. Maybe this would
have helped. Maybe not.

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

[Don]
>> 3) The installer puts quotes around the path when it modifies 2000's
path.
[Paul]
>That is intentional and does not cause any problems that we know of.

Eh..OK..I guess.  Would you explain the reasoning behind this?  This is the
first time I recall ever seeing a software vendor quote their part of the
PATH.

Don


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Paul
Prescod
Sent: Friday, April 20, 2001 9:35 AM
To: Tuttled
Cc: Activepython; [EMAIL PROTECTED]
Subject: Re: ActivePython 2.1 problems.


Tuttled wrote:
>
> 1)After removing ActivePython 2.0 and replacing it with 2.1, all Tkinter
> programs now generate the following error.  Running "Repair" from the
> installer doesn't help.
>
> C:\>D:\Python21\Grayson\Examples\Chapter03\calc2.py
> Traceback (most recent call last):
>   File "D:\Python21\Grayson\Examples\Chapter03\calc2.py", line 1, in ?
>     from Tkinter import *
>   File "d:\python21\lib\lib-tk\Tkinter.py", line 34, in ?
>     import FixTk # Attempt to configure Tcl/Tk without requiring PATH
>   File "d:\python21\lib\lib-tk\FixTk.py", line 1, in ?
>     import sys, os, _tkinter
> ImportError: Module use of python20.dll conflicts with this version of
> Python.

Do you have a PYTHONPATH? A separately installed Tkinter DLL? We've
tested e.g. IDLE on a variety of systems with no problem. I'm guessing
that you have an old _tkinter DLL in some directory in your path.

> 2) After using pyppm to install Py2exe and PyPerl they are not installed,
> even though a pyppm query shows they are.  (A search turns up nothing.)

Note that Thomas Heller has informed us that Py2exe is not compatible
with Python 2.1 yet so you would be advised to wait a few days until he
has released the 2.1 compatible version. Anyhow, we have been
experiencing a frustratingly intermittent problem where a mirror or
cache is serving up older 2.0 modules as 2.1 modules. Because it is
intermittent, it is extremely difficult to know when it is fixed. As
they say: "We have our best minds working on it."

> 3) The installer puts quotes around the path when it modifies 2000's path.

That is intentional and does not cause any problems that we know of.

--
Take a recipe. Leave a recipe.
Python Cookbook!  http://www.ActiveState.com/pythoncookbook
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to