Ask Your Question
0

import cmath module error

asked 2014-01-23 17:34:24 -0500

terrytian gravatar image

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

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-01-23 18:39:33 -0500

yfwing gravatar image

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.

edit flag offensive delete link more

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 gravatar imageterrytian ( 2014-01-23 18:54:35 -0500 )edit
0

answered 2014-01-23 19:09:39 -0500

Enrique gravatar image

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

PSSE 32.2.1 imports the library without any problems.

edit flag offensive delete link more

Comments

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

SC gravatar imageSC ( 2014-02-04 14:42:14 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2014-01-23 17:34:24 -0500

Seen: 847 times

Last updated: Jan 23 '14