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

Ask Your Question
0

ImportError: DLL load failed: %1 is not a valid Win32 application

asked Feb 23 '17

lmcqueen gravatar image

I had installed PyCharm (an IDE) to work on python scripts. I set the project interpreter of PyCharm to Anaconda since it has a large number of available python libraries.

When I run PSSE from PyCharm the following error occured:

import psspy ImportError: DLL load failed: %1 is not a valid Win32 application

When I changed project interpreter of PyCharm to Python 27, it worked very well with no errors.

Question: Is there something I need to install in PyCharm or Anaconda to run my codes smoothly?

1 answer

Sort by » oldest newest most voted
0

answered Apr 25 '17

Jack gravatar image

PSSE requires 32 bit python. You are probably using 64 bit python.

link

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: Feb 23 '17

Seen: 3,776 times

Last updated: Apr 24 '17