On Tuesday 13 December 2011 14:14:12 Ron Bublitz wrote: > Could you expand a little on your answer? Are you saying that it's the > private.py that has been added since PySide 1.0.6 that is causing import > errors for me? If so, what is it supposed to do that it can be removed > from future releases?
Yes, probably you need to set the PYTHONPATH env. variable to PySide directory to get it working with the current release. The code in git right now does what private.py did, but does using call to Python C API instead of Python code. > > > ------------------------------ > > Message: 2 > Date: Mon, 12 Dec 2011 11:36:29 -0200 > From: Hugo Parente Lima <hugo.l...@openbossa.org> > To: pyside@lists.pyside.org, Ron Bublitz <rbubl...@yahoo.com> > Subject: Re: [PySide] maya and PySide releases > Message-ID: <201112121136.35327.hugo.l...@openbossa.org> > Content-Type: text/plain; charset="iso-8859-15" > > On Monday 12 December 2011 02:17:34 Ron Bublitz wrote: > > I'm investigating PySide and how it can be used with Maya2012. I've seen > > a few other posts in this list with people asking about interactions > > with Maya but can't find info about this particular issue. > > First, Maya2012 comes with a subset of Qt4.7.1. Looking at the PySide > > downloads, there are builds for PySide 1.0.3 to 1.0.9. I have had > > success importing versions 1.0.3 to 1.0.6 inside Maya2012. But 1.0.7 > > and 1.0.9 have an import error where it chokes on line 2 of private.py > > # Error: line 1: ImportError: file > > C:\Python26\Lib\site-packages\PySide\private.py line 2: DLL load failed: > > The specified procedure could not be found. # > > > > Line 2 is: > > from QtCore import __moduleShutdown > > > > > > > > I notice that 1.0.3 to 1.0.6 were compiled against Qt 4.7.3. And from > > 1.0.6 onwards Qt4.7.4 has been used. This would seem to be the issue. > > But I do not know what could have changed between those minor releases > > that now the latest PySide will not import. Is there anything you can > > shed light on with this issue? > > Thanks. > > The good news is that the next version wont use this private.py file, so it > should work without modifications. -- Hugo Parente Lima INdT - Instituto Nokia de Tecnologia
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PySide mailing list PySide@lists.pyside.org http://lists.pyside.org/listinfo/pyside