Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The PSSE 33 python module psspy.pyc is in python version 2.7.

Your python interpreter that is initiated by matlab is not version 2.7. So you get a bad magic number error.

Only the python 2.7 interpreter can import version 2.7 python module 'XXX.pyc'

You can know your python interpreter version by the following python code:

import sys
print sys.version