John Griessen wrote:
> Now that a build with python2.6 ran to completion without errors, I have 
> tested some OCC
> examples and I'm not able to import any OCC modules or other modules:
.
.
.
> --> 878         import wx
>      879
>      880         threading.Thread.__init__(self)
> 
> ImportError: No module named wx
> 
> 
> I had env variables:
> 
> OCC_LIB_PATH=/usr/local/lib
> PYTHONPATH=""   (empty)
> 

my path and python path seems fine without adding anything:

j...@toolbench:/backups-650mb/pythonocc-read-only/src/examples/Level1/SMESH$  
env | grep PATH
PATH=/usr/lib/python-django/bin:/opt/scribus/bin:/opt/blender:/opt/pcb/bin:/opt/hec/bin:/home/john/bin:/home/cibolo/bin:/home/john/perl:/opt/sbin:/opt/bin:/opt/leo/bin:/opt/gnucash/bin:/opt/geda/bin:/opt/SweetHome3D:/opt/tinyos-2.x/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
PYTHONPATH=


j...@toolbench:/backups-650mb/pythonocc-read-only/src/examples/Level1/SMESH$  
python2.6 -c "import sys; print sys.path"
['', '/backups-650mb/pythonocc-read-only/src/examples/Level1/SMESH', 
'/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', 
'/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', 
'/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', 
'/usr/lib/pymodules/python2.6', '/usr/lib/pymodules/python2.6/gtk-2.0', 
'/usr/lib/pymodules/python2.6/FontTools', 
'/usr/local/lib/python2.6/dist-packages']

Any ideas what to try?

John

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

Reply via email to