First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
Hi friends,
I have a new computer, please, when trying to run PSS/E from Python's IDLE, I get this message:
ImportError: No module named redirect
This is my full header:
"import os,sys sys.path.insert(0,'C:\Program Files\PTI\PSSE33\PSSBIN') os.environ['PATH'] = 'C:\Program Files\PTI\PSSE33\PSSBIN'+';'+os.environ['PATH'] import redirect redirect.psse2py() import psspy psspy.psseinit(150000) _i=psspy.getdefaultint() _f=psspy.getdefaultreal() _s=psspy.getdefaultchar() import excelpy"
Please, does anyone know how to fix it ? Do I have to "install" the redirect module ? if so, please how ?
Thanks,
Andre
Hi friends,
I have a new computer, please, when trying to run PSS/E from Python's IDLE, I get this message:
ImportError: No module named redirect
This is my full header:
"import
import os,sys
sys.path.insert(0,'C:\Program Files\PTI\PSSE33\PSSBIN')
sys.path.insert(0,'C:\\Program Files\\PTI\\PSSE33\\PSSBIN')
os.environ['PATH'] = 'C:\Program Files\PTI\PSSE33\PSSBIN'+';'+os.environ['PATH']
'C:\\Program Files\\PTI\\PSSE33\\PSSBIN'+';'+os.environ['PATH']
import redirect
redirect.psse2py()
import psspy
psspy.psseinit(150000)
_i=psspy.getdefaultint()
_f=psspy.getdefaultreal()
_s=psspy.getdefaultchar()
import excelpy"excelpy
Please, does anyone know how to fix it ? Do I have to "install" the redirect module ? if so, please how ?
Thanks,
Andre