I have pythonOCC installed in /usr/lib/python2.5/site-packages/OCC

it sort of looks like I have pythonOCC going:

 >>> import OCC
 >>>


any idea what might cause this?:

 >>> from OCC import BRep
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "OCC/BRep.py", line 6, in <module>
    import _BRep
ImportError: libBinLPlugin.so.0: cannot open shared object file: No such 
file or directory


or:

 >>> from OCC import STEPControl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "OCC/STEPControl.py", line 6, in <module>
    import _STEPControl
ImportError: libBinLPlugin.so.0: cannot open shared object file: No such 
file or directory
 >>>


I did 'updatedb' to check for where 'libBinLPlugin.so.0' is and I have 
it in multiple places that I have pointed $CASROOT to while I've been 
playing with this:
/opt/OpenCASCADE6.3.0/lib/libBinLPlugin.so.0
/opt/occ/lib/libBinLPlugin.so.0  (this is from Thomas' bin)

I always open a new terminal after I set .bashrc and check that my 
$CASROOT is pointing somewhere logical:

d...@dan-desktop:~/CAM$ echo $CASROOT
/opt/occ

I must be missing something very obvious


Thanks,
Dan
P.S.  I appreciate all the help and the speed at which it comes from the 
mailing list. This is a great group!













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

Reply via email to