Import redirect module error
I am trying to change a .raw file into another form to be used in matlab. I am initializing the program as
import os
import sys
PSSE = r"C:\Program Files (x86)\PTI\PSSEXplore34\PSSBIN"
sys.path.append(PSSE)
os.environ["PATH"] += ";" + PSSE
import redirect
import psspy
but I am getting the error returned as "ImportError: No module named redirect". How do I install the module redirect? It does not come up as a module when using pip install redirect in command line. How else would I fix this?
Do you have redirect.pyc in PSSBIN folder?
I ended up figuring it out, the redirect.pyc file is in the psspy27 folder instead of pssbin