昨天我在64位Windows 7虚拟机上成功安装了sip,pyqt4和vtk(包括python的绑定)。
然而,当我'导入vtk'时,弹出一个对话框,说'python.exe已经停止工作'。
事件查看器显示错误与sip有关,但是,“import sip”不会给我任何错误
Log Name: Application
Source: Application Error
Date: 3/19/2012 9:00:43 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: Virtual
Description:
Faulting application name: pythonw.exe, version: 0.0.0.0, time stamp: 0x4df4b9cc
Faulting module name: sip.pyd, version: 0.0.0.0, time stamp: 0x4f34f9ae
Exception code: 0xc0000005
Fault offset: 0x00004d96
Faulting process id: 0x810
Faulting application start time: 0x01cd05d025cac35c
Faulting application path: C:\Python27\pythonw.exe
Faulting module path: C:\Python27\lib\site-packages\sip.pyd
>>> import sip
>>> sip.__file__
'C:\\Python27\\lib\\site-packages\\sip.pyd'