[PyQt] ImportError with v4.7 Windows Binary

INADA Naoki songofacandy at gmail.com
Fri Jan 22 14:39:48 GMT 2010


I caught a same problem.
And I fixed the problem by this:

cd c:\Python2.6\Lib\site-package\PyQt4
copy bin\QtCore4.dll .
copy bin\QtGui4.dll .


On Fri, Jan 22, 2010 at 11:27 PM, Phil Thompson
<phil at riverbankcomputing.com> 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?
>
> Can you run Designer?
>
> Phil
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



-- 
Naoki INADA  <songofacandy at gmail.com>


More information about the PyQt mailing list