Message: "ImportError: No module named redirect"
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
I have figured out the error, my new machine is a 64-bit one and so PSS/E is in the x86 folder, Thanks, Andre