Pyqt in the ass? there's an image... >From a quick glance I would say the link could give alot of insight, thanks!
2015-05-08 12:36 GMT+02:00 Marcus Ottosson <[email protected]>: > Deploying PyQt sure is a PITA. (A PyQITA?). > > Maybe this could offer some insight. > - https://github.com/pyqt/python-qt5/wiki/Updating-the-repository#bundling > > On 8 May 2015 at 11:33, Johan Forsgren <[email protected]> wrote: > >> I'm sure this has been covered in this list, but can't for the life of me >> find where, so... >> I have a couple of tools developed, they are all pyqt based, mainly >> standalone stuff but a few for maya/nuke as well. Id like to distribute >> these to the rest of the studio, so I've copied my the pyqt4-folder from >> site-packages to a location on the server. But pyqt wont stop giving me >> hassle on import. >> >> import os >> os.environ["PATH"] += os.pathsep + r"\\path\to\QT\on\server" >> import PyQt4 >> from PyQt4 import QtGui >> >> >>> Import Error: DLL load failed. >> >> Soooo, my guess is that python can't find the dlls associated with the >> module (QtGui4.dll in this case) , even though I'm pointing right at them >> with both the path variable and the pythonpath. >> The dlls lies where they should, right in the pyqt folder, I've tried >> laying them beside python.exe, no luck there either. >> >> I've also tried downloading and installing QT in order to extract those >> dlls from C:\Qt\4.7.4\bin into the pyqt folder, this time around i got >> another kind of error ("ImportError: DLL load failed: %1 is not a valid >> Win32 application.") which suggests that python is looking in the >> correct place... or am I mistaken? >> >> Is there some kind of registry key I've missed or something, I'm at a >> loss here >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/CANSD_rqA1LAGdxQdM_M5mB9Gng7pWFcC%3Di4uu%2BuS5jsnQbJ1sw%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CANSD_rqA1LAGdxQdM_M5mB9Gng7pWFcC%3Di4uu%2BuS5jsnQbJ1sw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > *Marcus Ottosson* > [email protected] > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCs45L0vQVZfXRHGkg21beRAWjZbhQtA2m6gs8z40zAuA%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCs45L0vQVZfXRHGkg21beRAWjZbhQtA2m6gs8z40zAuA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CANSD_rpa5dvp0z65AANj_W7voLURazR_%3D6no3T%3DEk%3DZCz%3D2sNA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
