First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
![]() | 1 | initial version | |
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?
I use the code
import os,sysos,sys
PSSE_LOCATION = r"D:\COMPONENTE_LOGICA\PSSE\PSSE30\PSSBIN"
PSSELOCATION = r"D:\COMPONENTELOGICA\PSSE\PSSE30\PSSBIN"
sys.path.append(PSSE_LOCATION)
sys.path.append(PSSE_LOCATION)
os.environ['PATH'] = os.environ['PATH'] + ';' + PSSE_LOCATION
import psspy
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?