[Paraview] Trying to load PyQt4.QtGui on windows

Berk Geveci berk.geveci at kitware.com
Mon May 31 09:51:03 EDT 2010


Did you compile ParaView yourself? I suspect that you did not and that
the Python ParaView includes is different than the one PyQt4 was
compiled against. If that is the case, you have to compile ParaView
yourself, against the Python as well as Qt PyQt4 uses.

On Sun, May 30, 2010 at 7:36 PM,  <m.c.wilkins at massey.ac.nz> wrote:
>
> Hi,
>
> Typing 'import PyQt4.QtGui' into the python shell in paraview 3.8.0 on
> Windows XP fails with:
>
>>>> import PyQt4.QtGui
> Traceback (most recent call last):
>  File "<console>", line 1, in <module>
> ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
>>>>
>
> I haven't had paraview on this machine before, in fact I just installed
> paraview for the first time on this windows machine.  The machine does have
> python and VTK on it, but I have removed my PYTHONPATH environment variable,
> and any references to those directories from my PATH.  Still the problem remains.
>
> From googling I saw someone say one must have the location of QTGUI4.dll in
> your path.  I added C:\Program Files\ParaView 3.8.0\bin (where I found a
> QTGUI4.dll) to my path to no avail.  Then I added C:\Program Files\ParaView
> 3.8.0\bin\vistrails too since there is a QTGUI4.dll in there too.
>
> Does anyone have any clues?
>
> Thanks
>
> Matt
>
>
>
>
>
>
> _______________________________________________
> 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list