Import psse35, dll fail
I am trying to import and initialize PSSE35. Simply changing paths and system interpreters from what I have for version 34 isn't working.
PSSE version 34 (running with python 39, 32 bit): sys.path.append('C:\Program Files (x86)\PTI\PSSE34\PSSPY39')
PSSE version 35 (running with python 38, 64 bit) sys.path.append('C:\Program Files\PTI\PSSE35\35.2\PSSPY38')
ERROR: Traceback (most recent call last): File "C:/Users/nxt0v07/OneDrive - NEE/Python/Model builder/psse35test.py", line 154, in <module> import psse35 File "C:\Program Files\PTI\PSSE35\35.2\PSSPY38\psse35.py", line 34, in <module> EXAMPATH = psseloc.setpsseloc(svrsn) File ".\psseloc.py", line 384, in _setpsse_loc ImportError: DLL load failed while importing psscommon: The specified module could not be found.
In trying to get PSSE version 35 initialized properly, I tried running with python 39 32 bit and it threw bad magic number errors. I switched to python 38 since it didn't appear that python 39 was installed with my PSSE35 stuff, and it threw win32com errors so I switched to python 38 64 bit. The error above is what I'm trying to debug...