[PyQt] ImportError with v4.7 Windows Binary

Doug Bell dougb at bellz.org
Fri Jan 22 15:12:37 GMT 2010


Phil Thompson wrote:
> On Fri, 22 Jan 2010 10:00:13 -0500, Doug Bell <dougb at bellz.org> wrote:
> > Phil Thompson wrote:
> >> On Fri, 22 Jan 2010 09:03:53 -0500, Doug Bell <dougb at bellz.org> wrote:
> >> > Hi,
> >> > 
> >> > I installed PyQt 4.7 with the new Windows installer.  When trying to
> >> > use
> >> > it, I get the following error:
> >> > 
> >> > C:\Misc>python
> >> > Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit
> >> > (Intel)] on
> >> > win32
> >> > Type "help", "copyright", "credits" or "license" for more information.
> >> >>>> from PyQt4 import QtCore, QtGui
> >> > Traceback (most recent call last):
> >> >   File "<stdin>", line 1, in <module>
> >> > ImportError: DLL load failed: The specified procedure could not be
> >> > found.
> >> > 
> >> > This is on a PC running Windows XP SP3.  I don't see anything
> obviously
> >> > wrong with the installation (qt.conf is OK, the path includes the bin
> >> > directory, nothing is left over from a previous version, etc.).  Also
> >> > note that I don't have an administrator login on this PC.
> >> > 
> >> > Any ideas?
> >> 
> >> Did you start your DOS shell after installing?
> > 
> > Yes, I ever rebooted, and it didn't help.
> > 
> >> Can you run Designer?
> > 
> > Yes, Designer runs.
> 
> What is on your PATH?

C:\Source\Python26\Lib\site-packages\PyQt4\bin

Doug


More information about the PyQt mailing list