First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked Sep 10 '0

likethevegetable gravatar image

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?

click to hide/show revision 2
No.2 Revision

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.