| 1 | initial version |
You'll need to tell Python where PSSE is installed. Otherwise it cannot find the psspy library.
There is a question about that here:
https://psspy.org/psse-help-forum/question/122/how-do-i-import-the-psspy-module-in-a-python-script/
To summarise that link, you'll need to append your pssbin folder to the sys.path variable before you can import psspy.
You should do this in your main.py before you start importing other modules that require psspy.
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.