First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Jun 12 '12

chip gravatar image

You get this rather misleading error when running Python on top if your environment is not setup properly.

The code in the question places the delimiter ';' after the PSSE path instead of between the current path and PSSE path.

os.environ['PATH'] += PSSE + ';'

try this instead::

os.environ['PATH'] += ';' + PSSE
click to hide/show revision 2
No.2 Revision

You get this rather misleading error when running Python on top if your environment is not setup properly.

The code in the question places the delimiter ';' after the PSSE path instead of between the current path and PSSE path.

os.environ['PATH'] += PSSE + ';'

try this instead::

os.environ['PATH'] += ';' + PSSE

I get the same error message trying to load a case when my environment was bad.