2

Problem with numpy and matplotlib

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

waltterval's avatar
155
waltterval
asked 2012-07-26 13:04:42 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

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.
chip's avatar
459
chip
answered 2012-07-26 15:57:05 -0500, updated 2012-07-27 11:21:56 -0500
edit flag offensive 0 remove flag delete link

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's avatar JervisW (2012-07-27 08:34:20 -0500) 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's avatar waltterval (2012-07-27 09:05:44 -0500) 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's avatar chip (2012-07-27 10:59:21 -0500) 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's avatar waltterval (2012-07-27 13:10:07 -0500) 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's avatar JervisW (2012-07-28 15:26:50 -0500) edit
add a comment see more comments
0

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.

core_impact's avatar
1
core_impact
answered 2012-12-18 03:28:09 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer