Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error running PSSE from Python 3.7.3

I get the following error in my Python script following the psspy.psseinit(2000) command. Has anyone seen this before and do they know what the fix is?

PSS(R)E Version 34 Copyright (c) 1976-2021 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:\users\bradh\AppData\Local\Programs\Python\Python34-4-new\lib\site.py", line 176 file=sys.stderr) ^ SyntaxError: invalid syntax

Error running PSSE from Python 3.7.3

I get the following error in my Python script following the psspy.psseinit(2000) command. Has anyone seen this before and do they know what the fix is?

PSS(R)E Version 34 Copyright (c) 1976-2021 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:\users\bradh\AppData\Local\Programs\Python\Python34-4-new\lib\site.py", "C:\Users\bradh\AppData\Local\Programs\Python\Python373\lib\site.py", line 176 177 file=sys.stderr) ^ SyntaxError: invalid syntax

Error running PSSE from Python 3.7.3

I get the following error in my Python script following the psspy.psseinit(2000) command. Has anyone seen this before and do they know what the fix is?

PSS(R)E Version 34 Copyright (c) 1976-2021 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:\Users\bradh\AppData\Local\Programs\Python\Python373\lib\site.py", line 177 file=sys.stderr) ^ SyntaxError: invalid syntax

Running PSS/E V34.7.0 on Win 10