Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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?