First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
I know this does not answer the question directly, but if you are simply trying to ascertain PSSE location for psspy, dyntools, etc. you might want to check out the psse library "PSSEPATH". I believe it was created by a forum contributor a few years ago. I have used it on PSSE 32, 33, an 34 with different versions of python. It works great.
Check here: https://github.com/danifus/pssepath
and the comments here: https://psspy.org/psse-help-forum/question/122/how-do-i-import-the-psspy-module-in-a-python-script/