PythonCAD question

Franz Steinhaeusler franz.steinhaeusler at gmx.at
Mon Sep 18 07:37:19 EDT 2006


Peter Otten wrote:

> 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

Hello Peter, 

On the homepage,
http://www.pythoncad.org/
there is the text:


"PythonCAD does run on Windows if you have the Windows
ports of the required libraries and modules." 

-- 
Franz Steinhaeusler




More information about the Python-list mailing list