[vtkusers] No module named vtkQtPython

Yifei Li yifli82 at gmail.com
Thu Sep 15 10:44:26 EDT 2011


On Thu, Sep 15, 2011 at 10:10 AM, Jothy <jothybasu at gmail.com> wrote:

> Why don't you simply do "import vtk"
>

I'm looking for QVTKWidget. I did not find it in module 'vtk'.  Is there any
example on using VTK with PySide"?

Bear with me if this is a simple question since I'm new to VTK.

>
> Jothy
>
> On Thu, Sep 15, 2011 at 2:58 PM, Yifei Li <yifli82 at gmail.com> wrote:
>
>> Hi all,
>>
>> I have an application developed using PySide, now I want to use VTK for
>> rendering.
>>
>> So I did 'from vtk import qvtk', but got the following errors:
>>
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File
>> "/Library/Python/2.7/site-packages/VTK-5.8.0-py2.7.egg/vtk/qvtk.py", line 5,
>> in <module>
>>     from vtkQtPython import *
>> ImportError: No module named vtkQtPython
>>
>>
>> Any help is highly appreciated.
>>
>> Yifei
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
>
> --
> Jothybasu K Selvaraj
> PhD Student
> University of Liverpool
> Liverpool,UK
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110915/3a49d1dd/attachment.htm>


More information about the vtkusers mailing list