First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
what you entered:
import os
import sys
sys.path.append(r"""C:\Program Files (x86)\PTI\PSSE32\PSSBIN""")
os.environ['PATH'] = (r"""C:\Program Files (x86)\PTI\PSSE32\PSSBIN;""" + os.environ['PATH'])
import psspy
import redirect
It loos OK. is the path rigth for your installation? does psspy.pyc and psspyc.pyd located at that path? if not try re-installing.
2 | No.2 Revision |
what you entered:
import os
import sys
sys.path.append(r"""C:\Program Files (x86)\PTI\PSSE32\PSSBIN""")
os.environ['PATH'] = (r"""C:\Program Files (x86)\PTI\PSSE32\PSSBIN;""" + os.environ['PATH'])
import psspy
import redirect
It loos looks OK. is the path rigth for your installation? does psspy.pyc and psspyc.pyd located at that path? if not try re-installing.
3 | No.3 Revision |
what you entered:
import os
import sys
sys.path.append(r"""C:\Program Files (x86)\PTI\PSSE32\PSSBIN""")
os.environ['PATH'] = (r"""C:\Program Files (x86)\PTI\PSSE32\PSSBIN;""" + os.environ['PATH'])
import psspy
import redirect
It looks OK. is the path rigth for your installation? does are psspy.pyc and psspyc.pyd located at that path? if not try re-installing.re-installing PSSe.