First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Nov 22 '16

jconto gravatar image

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.

click to hide/show revision 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.

click to hide/show revision 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.