First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version | asked 2014-04-28 17:12:33 -0500 Anonymous |
I use the code
import os,sys
PSSELOCATION = r"D:\COMPONENTELOGICA\PSSE\PSSE30\PSSBIN"
sys.path.append(PSSE_LOCATION)
os.environ['PATH'] = os.environ['PATH'] + ';' + PSSE_LOCATION
import psspy
And I get this:
Traceback (most recent call last): File "<console>", line 1, in <module> File ".\psspy.py", line 56, in <module> ImportError: DLL load failed: it is not a valid win32 program
I checkeed the PSSE bin folder and I could not find a psspy.dll. There is a psspyc.pyd. Is the psspy.dll missing? Where can I get one?
2 | No.2 Revision |
I use the code
import PSSELOCATION = r"D:\COMPONENTELOGICA\PSSE\PSSE30\PSSBIN"
sys.path.append(PSSE_LOCATION)
And I get this:
Traceback (most recent call last): File "<console>", line 1, in <module> File ".\psspy.py", line 56, in <module> ImportError: DLL load failed: it is not a valid win32 program
I checkeed the PSSE bin folder and I could not find a psspy.dll. There is a psspyc.pyd. Is the psspy.dll missing? Where can I get one?