Franz Steinhaeusler wrote: > Hello NG, > > I tried to run PythonCad on window and > got follwoing traceback: > > Traceback (most recent call last): > File "C:\temp\PythonCAD-DS1-R34\PythonCad.py", line 45, in ? > import PythonCAD.Interface.Cocoa.ImageDocument > File > "C:\temp\PythonCAD-DS1-R34\PythonCAD\Interface\Cocoa\ImageDocument.py", > l > ine 38, in ? > import PythonCAD.Interface.Cocoa.Globals > File "C:\temp\PythonCAD-DS1-R34\PythonCAD\Interface\Cocoa\Globals.py", > line 23 > , in ? > from Foundation import NSObject > ImportError: No module named Foundation > > * Waht is the module "Foundation"? > > Where can I get it?
The .../Cocoa/... part in the paths suggests that PythonCAD assumes it is running on a Mac. The missing module is rather a symptom than the cause of the bug. Peter -- http://mail.python.org/mailman/listinfo/python-list