Ask Your Question

mpski9's profile - activity

2019-01-16 20:53:09 -0500 received badge  Famous Question (source)
2018-06-07 11:34:12 -0500 received badge  Notable Question (source)
2018-05-30 16:56:07 -0500 received badge  Popular Question (source)
2018-05-29 11:38:42 -0500 commented question Import redirect module error

I ended up figuring it out, the redirect.pyc file is in the psspy27 folder instead of pssbin

2018-05-28 11:53:00 -0500 asked a question 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?