0

import cmath module error

Have someone notice that the cmath python module has a conflict with PSSE?

I mean, if you type:

import cmath

in the PSSE GUI command line, the PSSE GUI will crash.

anybody have same problem?

My PSSE version is 33.5

terrytian's avatar
49
terrytian
asked 2014-01-23 17:34:24 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

I believe that it is related to the windows 7 version GDI32.dll. PSS/E version 33 is development in the windows XP environment. So it would have some compatibility issues with some python modules and also some of the PSS/E GUI functions may not work, such as the 'Report Node' when creating slider files. You can try to use the native python interpreter, rather than the PSS/E rebuilt python interpreter. It may solve the problem, but I am not sure.

yfwing's avatar
436
yfwing
answered 2014-01-23 18:39:33 -0500
edit flag offensive 0 remove flag delete link

Comments

yes, to use the native python interpreter will solve the problem. it takes me long time to troubleshoot my code, until i found the problem exist in the cmath module. Thank you.

terrytian's avatar terrytian (2014-01-23 18:54:35 -0500) edit
add a comment see more comments
0

I'm seeing the same thing with PSSE 33.4 and 33.5.

PSSE 32.2.1 imports the library without any problems.

Enrique's avatar
71
Enrique
answered 2014-01-23 19:09:39 -0500
edit flag offensive 0 remove flag delete link

Comments

I tried PSS/E 32.2.1 as well, it works.

SC's avatar SC (2014-02-04 14:42:14 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer