A while back Thomas suggested:
In order to check your installation, run src/unittest programs. When I execute python2.5 occ_unittest.py output is: -------- Ran 11 tests in 4.730s OK ------------- To test that the SMESH wrapper works: run the examples from src/examples/Level1/SMESH python2.5 test_smesh.py output is: -------- a window with label 'wx' backend pops up, then disappears. -------- /usr/lib/python2.5/site-packages/OCC/Display/wxDisplay.py:153: DeprecationWarning: raising a string exception is deprecated raise "Please set the CSF_GraphicShr environment variable." Traceback (most recent call last): File "test_smesh.py", line 13, in <module> display, start_display, add_menu, add_function_to_menu = init_display() File "/usr/lib/python2.5/site-packages/OCC/Display/SimpleGui.py", line 121, in init_display win.canva.InitDriver() File "/usr/lib/python2.5/site-packages/OCC/Display/wxDisplay.py", line 153, in InitDriver raise "Please set the CSF_GraphicShr environment variable." Please set the CSF_GraphicShr environment variable. -------- I found a mention of "You may have to also set the "CSF_GraphicShr" environmental variable: export CSF_GraphicShr=/usr/local/lib/libTKOpenGl.so", but I have nothing at /usr/local/lib/libTKOpenGl.so. What next? John _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users