Ask Your Question
2

Problem with numpy and matplotlib

asked 2012-07-26 13:04:42 -0600

waltterval gravatar image

Hi, if I run import numpy, matplotlib for any IDLE all is ok ,but if I did that into PSSE I got:

ImportError: DLL load failed: No se puede encontrar el módulo especificado (Did not find the specified module)

Any idea about the problem?

Thanks for tour help, Waltter

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
1

answered 2012-07-26 15:57:05 -0600

chip gravatar image

updated 2012-07-27 11:21:56 -0600

PSSE ships with its own Python distribution which doesn't include numpy and matplotlib. In this case you probably want to run with Python on top.

The Whit guys have also written a nice article on doing this.

It's possible to get a version of numpy and matplotlib to run with the PSSE Python distribution but it's probably more work than it's worth. PSSE maintains build packages of scientific tools for the correct PSSE Python versions.

For me, running the system Python on top is usually more convenient.

  • Things like IDE's play nicely with it.
  • Python install is orthogonal to PSSE install.
  • The C:\Python27\ install tree is comforting.
  • Only one Python install to maintain.
edit flag offensive delete link more

Comments

1

I'll add that I found this webpage on PTI's website with a list of these scientific packages all in one spot: https://www.pti-us.com/pti/software/psse/PythonModules.cfm pretty handy.

JervisW gravatar imageJervisW ( 2012-07-27 08:34:20 -0600 )edit

Actually the problem is when I try to run with PSSE on top, if I run with Python on top there is not problem

waltterval gravatar imagewaltterval ( 2012-07-27 09:05:44 -0600 )edit

@waltterval Is there a reason you want/need have PSSE on top? I was suggesting running Python on top to avoid the entire issue, which I realize is not a direct answer to your question.

chip gravatar imagechip ( 2012-07-27 10:59:21 -0600 )edit

@chip, there is not a reason to do it in that way. I just was testing my script, but I will run with Python on top, that's the best way..

waltterval gravatar imagewaltterval ( 2012-07-27 13:10:07 -0600 )edit

@waltterval, we use Python on top. It helps us develop and test our code faster. That's what we all want, to spend less time writing code, and more time looking at the results.

JervisW gravatar imageJervisW ( 2012-07-28 15:26:50 -0600 )edit
0

answered 2012-12-18 03:28:09 -0600

copy msvcp71.dll from "C:\Python25\Lib\site-packages\wx-2.8-msw-ansi\wx" to "C:\Python25\Lib\site-packages\matplotlib"

Paths on your computer might be different.

edit flag offensive delete link more

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: 2012-07-26 13:04:42 -0600

Seen: 1,996 times

Last updated: Dec 18 '12