First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
2019-01-23 00:42:07 -0500 | received badge | ● Famous Question (source) |
2019-01-22 02:13:31 -0500 | commented answer | ImportError: No module named psspy Thanks for the help. My problem is solved as following: sys_path_PSSE=r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSPY27' sys.path.append(sys_path_PSSE) os_path_PSSE=r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSBIN' os.environ['PATH'] += ';' + os_path_PSSE |
2019-01-21 10:20:32 -0500 | received badge | ● Notable Question (source) |
2019-01-21 09:53:14 -0500 | received badge | ● Popular Question (source) |
2019-01-13 02:38:28 -0500 | asked a question | ImportError: No module named psspy I have PsseExplore34, and python 2.7.13, and my PSSE path is C:\Program Files (x86)\PTI\PSSEXplore34\PSSBIN and psspy.pyc is there C:\Program Files (x86)\PTI\PSSEXplore34\PSSPY34 and C:\Program Files (x86)\PTI\PSSEXplore34\PSSPY27 this is part of my code that import psse import os,sys PSSE_PATH = r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSBIN' sys.path.append(PSSE_PATH) os.environ['PATH'] += ';' + PSSE_PATH import psspy ,but whenever I run it I got this error message ImportError: No module named psspy I put this line import psse34 before impoert psspy, but it still does not work. what should I do? |