God,
The first example also doesn't want to run.
I have a problem at the third line...
>>> from OCC.gp import *
>>> from OCC.GCE2d import *
>>> P1 = gp_Pnt2D(1,2)
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
P1 = gp_Pnt2D(1,2)
NameError: name 'gp_Pnt2D' is not defined
Best regards,
Pierre
2010/3/1 Pierre JUILLARD <[email protected]>
>
> Hi all,
>
> I just installed on a Windows XP SP3 32 bits machine where I have no
> administrator rights:
> - python 2.6.4 (everything seems ok: no problem during installation)
> - and pythonOCC_all-in-on_0.4_python_2.6......exe
>
> The installer correctly found the python interpreter.
> There was no error message during installation.
>
> However, typing...
> >> from OCC import *
> ...got me the following error message:
> Traceback (most recent call last):
> File "<pyshell#0>", line 1, in <module>
> from OCC import *
> File "L:\programs\Python26\lib\site-packages\OCC\XDEDRAW.py", line 28, in
> <module>
> _XDEDRAW = swig_import_helper()
> File "L:\programs\Python26\lib\site-packages\OCC\XDEDRAW.py", line 24, in
> swig_import_helper
> _mod = imp.load_module('_XDEDRAW', fp, pathname, description)
> ImportError: DLL load failed: Le module spécifié est introuvable.
>
> Any idea?
> Please, any help would be appreciated.
>
> Best regards,
>
> Pierre
>
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users