Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Python 3.7 with PSSE 34 syntax error

I ensured Python 3.7 is 32-bit and am trying to run it with PSSE 34, but am encountering the following error. Any thoughts? I printed out the Python version and psspy file location psspy.version_info.

Troubleshooting: showing sys.version, and psspy file path
sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0)
C:\Program Files (x86)\PTI\PSSE34\PSSPY37\psspy.pyc
Starting single Dynamics

 PSS(R)E Version 34
 Copyright (c) 1976-2024
 Siemens Industry, Inc.,
 Power Technologies International                            (PTI)
 This program is a confidential  unpublished  work  created  and  first
 licensed in 1976.  It is a trade secret which is the property of  PTI.
 All use,  disclosure,  and/or reproduction not specifically authorized
 by  PTI  is prohibited.   This  program is protected  under  copyright
 laws  of  non-U.S.  countries  and  by  application  of  international
 treaties.  All  Rights  Reserved  Under  The  Copyright  Laws.

  File "C:\Python37\lib\site.py", line 177
    file=sys.stderr)
        ^
SyntaxError: invalid syntax