[Pythonmac-SIG] MacPython 2.1a3 also available for classic PPC
Jack Jansen
jack@oratrix.nl
Thu, 01 Mar 2001 11:37:10 +0100
Recently, Russell E Owen <owen@astro.washington.edu> said:
> I am a bit surprised to have three similar files:
> - PythonInterpreter
> - PythonInterpreterCarbon
> - PythonInterpreterClassic
> all in the main python folder.
Yes, it's a bit of a nuisance. PythonInterpreter is a copy of either
of the other two (ConfigurePythonXXX does the copying).
I could probably try hiding the the other two, by giving them a
different extension and putting them in a different place, although
I'm not quite sure about what would be a good place. Any ideas?
> I still can't get Tkinter to load. It is recognized as a module, but
> _tkinter is not found (shades of the past):
>
> >>> import Tkinter
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "russmain:python 2.1a3:lib:lib-tk:Tkinter.py", line 35, in ?
> import _tkinter # If this fails your Python may not be configured for Tk
> ImportError: No module named _tkinter
Yep, Tkinter is not supported for Carbon. This is the main reason for
doing the dual-install. Shoul I add a dummy module _tkinter that gives
a better error message? (ImportError: _tkinter not supported under
Carbon)
> I looked through my Python 2.1a3 folder and found two different files
> called _tkinter.ppc.slb:
> :Mac:PlugIns:_tkinter.ppc.slb 1.6Mb last modified 2/28/01
> :Extensions:Imaging:PIL:_tkinter.ppc.slb 1.2Mb last modified 1/11/00
Oops. The PlugIns one is indeed the right one, I'll get rid of the
other one. That also shaves another megabyte or so off the distribution:-)
--
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm