[Tutor] How to do a PyQt VTK application in Python26

Alan Gauld alan.gauld at btinternet.com
Thu Feb 19 12:06:47 CET 2015


On 19/02/15 09:54, John R wrote:
> Is it possible to make a PyQt VTK application using Python26?

No idea. What is a PyQt VTK application?
I know what PyQt is but never heard of VTK

Is there a web site? Does it have a support area?
Perhaps they can help?

> The error is
>
> Traceback (most recent call last):
>    File "EmbedInPyQt.py", line 5, in <module>
>      from PyQt4 import QtCore, QtGui
> ImportError: DLL load failed: %1 is not a valid Win32 application.

It sounds like you may have a dependency issue and need to
install something. But since its not Python or its standard
library I can't guess what. The best place to ask will be
a PyQt and/or a VTK forum.

> Due to this bug I searched in internet for PyQt4 Installer downloading
> versions and those are supporting
> Python34 and higher as PyQt4 exe
> (http://www.riverbankcomputing.com/software/pyqt/download)
>
>   Is there any way can I run my sample QT-VTK application using python 26?
> OR should I go after python 34??

Its unlikely that a version for 3.4 will work on 2.6. There are too many 
incompatible differences. Try using Python 3.4.


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list