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

Ask Your Question
0

PSSE crash after trying to install some python libraries

asked May 15 '16

coreofsnr gravatar image

hi guys,

I was trying to install numpy & matplotlib for python, after that my PSSE (v 33.4) has started crashing within seconds as soon as I try to start it by double clicking on its icon. I'm in big trouble. Can anybody help?

// Coreo

1 answer

Sort by » oldest newest most voted
0

answered May 17 '16

SqFKYo gravatar image

Hello there,

Did you by any chance update your Python to e.g. 2.7.11? This update caused my PSS/E to launch for a second, and then to immediately crash. Luckily I got a solution from PTI, but it requires some registry tinkering. Make an empty text file, and save it with .reg ending (e.g. fix.reg) with the following text inside of it:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7-32]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7-32\PythonPath]
@="C:\\Python27\\Lib;C:\\Python27\\DLLs;C:\\Python27\\Lib\\lib-tk"

Running the file you just made (as admin) should fix your problem.

link

Comments

thanks, i did as u said, but could not solve the problem

coreofsnr gravatar imagecoreofsnr (May 21 '16)

Can you elaborate the problem a bit more? Can you run PSS/E from Python instead?

SqFKYo gravatar imageSqFKYo (May 27 '16)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: May 15 '16

Seen: 699 times

Last updated: May 17 '16