First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
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