PySide dll error in Maya python2.6


I am facing a PySide error in Maya when I launch it from Shotgun webpage. 

Error message shown at the Maya script editor:

# Error: Shotgun: PySide could not be imported! Apps using pyside will not operate correctly! Error reported: DLL load failed: Access is denied. #
# Error: Shotgun: Could not start engine: 'NoneType' object has no attribute 'QTextCodec' #

The Shotgun Desktop is installed locally. But the Pipeline configuration for the projects are on the network. I tried running this code in the script editor.

from PySide import QtGui
# Error: ImportError: file <maya console> line 1: DLL load failed: Access is denied. #

and I got this error. I have verified that the PySide it is importing is the one in the project shotgun.

And the weirdest thing is that it works on most of the computers. Only a few of them have this problem. Totally appreciate if you can give us any help.



1 条评论

  • 0
    CHAI Qian-Hao

    I downloaded another version of Python and set the PYTHONPATH such that it will use my version of PySide instead of the one in Maya Engine. Things seem to be working now. So I guess I will continue to use the PySide that I downloaded.