[PythonCAD] PythonCAD on OS X 10.4.3
Art Haas
ahaas at airmail.net
Tue Nov 29 13:37:12 CET 2005
On Tue, Nov 29, 2005 at 09:02:17AM +0100, Pierre Vaudrey wrote:
> Art,
>
> Le 28 nov. 05 ? 19:20, Art Haas a ?crit :
>
> >I think alloc() may been part of the PyObjC bindings. Can you find any
> >info on this?
>
> Before i search info, svn update this morning gives :
> U PythonCAD/Generic/dimension.py
> U PythonCAD/Generic/text.py
> Updated to revision 2073.
> and at running :
> Traceback (most recent call last):
> File "/Users/pierreva/Documents/pythoncad2/build/PythonCad.app/
> Contents/Resources/PythonCad.py", line 29, in ?
> import PythonCAD.Generic.imageio
> File "/Users/pierreva/Documents/pythoncad2/build/PythonCad.app/
> Contents/Resources/PythonCAD/Generic/imageio.py", line 32, in ?
> import xml.dom
> ImportError: No module named dom
>
> I'm surprised because :
> $ python
> Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import xml.dom
> >>>
>
> Have you an idea ?
That is a strange error, as the 'xml.dom' module is a standard part of
Python, plus you demonstrated that your Python installation could
'import' it without problem. Weird, and no idea at the moment ...
Art
--
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.
-Thomas Jefferson to James Smith, 1822
More information about the PythonCAD
mailing list