[vtkusers] python.exe has stopped working

Yifei Li yifli82 at gmail.com
Sun Mar 18 23:49:07 EDT 2012


Here's what I got when running python in verbose mode, the 'python.exe has
stopped working' dialog appeared after the last line (import PyQt4.QtGui).

However, I can do 'import PyQt4.QtGui' without any problem

>>> import vtk
import vtk # directory C:\VTK\lib\site-packages\vtk
# C:\VTK\lib\site-packages\vtk\__init__.pyc matches
C:\VTK\lib\site-packages\vtk\__init__.py
import vtk # precompiled from C:\VTK\lib\site-packages\vtk\__init__.pyc
# C:\VTK\lib\site-packages\vtk\__helper.pyc matches
C:\VTK\lib\site-packages\vtk\__helper.py
import vtk.__helper # precompiled from
C:\VTK\lib\site-packages\vtk\__helper.pyc

# C:\Python27\lib\string.pyc matches C:\Python27\lib\string.py
import string # precompiled from C:\Python27\lib\string.pyc
import strop # builtin
import vtk.vtkCommonPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkCommonPython.pyd
import vtk.vtkFilteringPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkFilteringPython.pyd
import vtk.vtkIOPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkIOPython.pyd
import vtk.vtkImagingPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkImagingPython.pyd
import vtk.vtkGraphicsPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkGraphicsPython.pyd
import vtk.vtkGenericFilteringPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkGenericFilteringPython.pyd
import vtk.vtkRenderingPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkRenderingPython.pyd
import vtk.vtkVolumeRenderingPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkVolumeRenderingPython.pyd
import vtk.vtkHybridPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkHybridPython.pyd
import vtk.vtkWidgetsPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkWidgetsPython.pyd
import vtk.vtkChartsPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkChartsPython.pyd
import vtk.vtkInfovisPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkInfovisPython.pyd
import vtk.vtkViewsPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkViewsPython.pyd
# C:\VTK\lib\site-packages\vtk\qvtk.pyc matches
C:\VTK\lib\site-packages\vtk\qvtk.py
import vtk.qvtk # precompiled from C:\VTK\lib\site-packages\vtk\qvtk.pyc
import vtk.vtkQtPython # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkQtPython.pyd
# C:\Python27\lib\atexit.pyc matches C:\Python27\lib\atexit.py
import atexit # precompiled from C:\Python27\lib\atexit.pyc
import sip # dynamically loaded from C:\Python27\lib\site-packages\sip.pyd
import vtk.vtkFilteringPythonSIP # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkFilteringPythonSIP.pyd
import vtk.vtkRenderingPythonSIP # dynamically loaded from
C:\VTK\lib\site-packages\vtk\vtkRenderingPythonSIP.pyd
import PyQt4 # directory C:\Python27\lib\site-packages\PyQt4
# C:\Python27\lib\site-packages\PyQt4\__init__.pyc matches
C:\Python27\lib\site-packages\PyQt4\__init__.py
import PyQt4 # precompiled from
C:\Python27\lib\site-packages\PyQt4\__init__.pyc

import PyQt4.QtCore # dynamically loaded from
C:\Python27\lib\site-packages\PyQt4\QtCore.pyd
import PyQt4.QtGui # dynamically loaded from
C:\Python27\lib\site-packages\PyQt4\QtGui.pyd

On Sun, Mar 18, 2012 at 11:22 PM, Yifei Li <yifli82 at gmail.com> wrote:

> Hi all,
>
> I just compiled and installed vtk-5.8.0 on a 64-bit Windows 7 virtual
> machine.
>
> The dialog popped up immediately after I did 'import vtk' in the command
> line, and there was no error in the command line.
>
> Has anyone had this problem before?
>
>
> Thanks
>
> Yifei
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120318/5ffc0f77/attachment.htm>


More information about the vtkusers mailing list