On 2010/5/23 John Griessen wrote: > Denis Barbier wrote: >> On 2010/5/22 John Griessen wrote: >>> Any ideas what to try? >> >> My build also did not work. First of all, OCC/__init__.py was >> missing, > > I did not have that in my build dirs... > > no build/lib.linux-i686-2.6/OCC/__init__.py
After reading src/setup.py more carefully, it looks like __init__.py is written into build/swig_output_linux2_py26/; in my build, it also appears in build/lib.linux-i686-2.6/. > I decided to delete everything in the build dir and repeat with build -f. [...] > # install into /usr/local/lib/python2.6/dist-packages > python2.6 setup.py install I ran the same commands, except that this one has to be called with sudo. Do you build pythonocc as root, or did you simply forget it? If you still have import errors, you can run strace to see where python is looking for files, e.g. strace -f -e open python2.6 examples/Level1/HelloWorld/helloworld.py Denis _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users