Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Python 3.7 w/ PSSE 34

Hi all. I'm getting the bad magic number error when trying to run PSSE 34 with Python 3.7. I can run it with Python 2.7 fine, however. I noticed there are two psspy paths:

psspy34 = r'C:\Program Files (x86)\PTI\PSSE34\PSSPY27'

psspy34py3 = r'C:\Program Files (x86)\PTI\PSSE34\PSSPY34'

Would it have to be Python 3.4 with PSSE 34?

Python 3.7 w/ PSSE 34

Hi all. I'm getting the bad magic number error when trying to run PSSE 34 with Python 3.7. I can run it with Python 2.7 fine, however. I noticed there are two psspy paths:

psspy34 = r'C:\Program Files (x86)\PTI\PSSE34\PSSPY27'

psspy34py3 = r'C:\Program Files (x86)\PTI\PSSE34\PSSPY34'

Would it have to be Python 3.4 with PSSE 34?

Edit: I checked if my Python 3.7 installation is 64-bit and it is--perhaps this is the cause.