Hi PythonOCC users, I'm new to PythonOCC and pretty excited to learn it. I'm unable to run the tutorial example:
>>> display, start_display, add_menu, add_function_to_menu = init_display() C:\Python26\lib\site-packages\OCC\Display\SimpleGui.py:116: wxPyDeprecationWarning: Using deprecated class PySimpleApp. app = wx.PySimpleApp() C:\Python26\lib\site-packages\OCC\Display\SimpleGui.py:117: wxPyDeprecationWarning: Call to deprecated item 'InitAllImageHandlers'. wx.InitAllImageHandlers() ###### 3D rendering pipe initialisation ##### Display3d class initialization starting ... WNT Graphic device created. WNT window created. Viewer created. *OpenGL interface: SetPixelFormat failed. Error code 2000 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python26\lib\site-packages\OCC\Display\SimpleGui.py", line 121, in init_display win.canva.InitDriver() File "C:\Python26\lib\site-packages\OCC\Display\wxDisplay.py", line 145, in InitDriver self._display.Create() File "C:\Python26\lib\site-packages\OCC\Display\OCCViewer.py", line 110, in Create self.Init(self._window_handle) RuntimeError: Visual3d_ViewDefinitionError Association failed Can anybody help me with this error. Thanks in advance. Rajat
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users