You probably need to add an entry to the PATH environment variable. This error happens when the dll you are attempting to load cannot find a dll that it is dependent upon.
Have you tried: import PyQt4 On Mon, Dec 24, 2012 at 4:58 AM, PBLNRAO Kiran <[email protected]>wrote: > > > I want to use PyQt4 from a network location. > > I installed Python 2.6.4 x32 in a client and kept PyQt4 x32 module in a > network share (for Ex: "\share\Pyton_Modules\x32"). > > when opened python i did as below and it worked > > import sys > sys.path.append(r'\\share\Pyton_Modules\x32') > > from PyQt4 import QtGui > > everything worked fine. But i tested the same way for python 2.6.4 x64 in > a client and keeping PyQt4 x64 in a network share (for Ex : > "\share\Pyton_Modules\x64") > > when opened python i did as below and it worked > > import sys > sys.path.append(r'\\share\Pyton_Modules\x64') > > from PyQt4 import QtGui > > i get below error > > Traceback (most recent call last): > File "<pyshell#4>", line 1, in <module> > from PyQt4 import QtGui > ImportError: DLL load failed: The specified module could not be found. > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > > > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected].
