Red Hat Bugzilla – Bug 981786
Missing QVTKWidget and QVTKWidget2 python bindings in VTK 5.10.1
Last modified: 2013-08-19 17:30:14 EDT
Description of problem:
Using VTK 5.10.1 with python bindings, QVTKWidget and QVTKWidget2 are not built, so they can not be used.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
In terminal type :
2. from vtk import QVTKWidget
Traceback (most recent call last) :
File "<stdin>", line 1, in <module>
ImportError: cannot import name QVTKWidget
Proposed solution :
During build with cmake, these options should be turned on :
VTK_WRAP_PYTHON_SIP=ON for QVTKWidget
VTK_USE_QVTK_QTOPENGL=ON for QVTKWidget2
SIP_PYQT_DIR should also be defined
vtk-5.10.1-5.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing vtk-5.10.1-5.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Okay works for me. I left karma.
vtk-5.10.1-5.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.