Denis Barbier wrote:

> Following commands should work on a fresh checkout, I will try to
> recompile later:

I got the latest,
j...@toolbench:/backups-650mb/pythonocc-read-only$ svn info
Path: .
URL: http://pythonocc.googlecode.com/svn/trunk
Repository Root: http://pythonocc.googlecode.com/svn
Repository UUID: 3e04dc38-2002-11df-b3bf-63d83f449e3e
Revision: 1031

then built with your instructions, (except leaving off --user ),
no errors, install resulted in:

creating /usr/local/lib/python2.6/dist-packages/OCC and
          /usr/local/lib/python2.6/dist-packages/pythonOCC-0.5dev.egg-info

I deleted /usr/lib/python2.5/site-packages/OCC
then started testing...

j...@toolbench:/backups-650mb/pythonocc-read-only/src/examples/Level1/SMESH$ 
ipython test_smesh.py
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/backups-650mb/pythonocc-read-only/src/examples/Level1/SMESH/test_smesh.py in 
<module>()
       2 # see: http://www.opencascade.org/org/forum/thread_14890/

       3
----> 4 from OCC.BRepPrimAPI import *
       5 from OCC.TopAbs import *
       6 from OCC.TopExp import *

ImportError: No module named OCC.BRepPrimAPI

I guess my install dir, /usr/local/lib/python2.6/dist-packages/OCC, is not on 
the path?

John

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to