Zhiwen Liang | 17 Jul 23:30

Re: Problems on Installing New Fipy

Hi, 

First I want to thank you for all the package management suggestions. I think my packages are getting a little messy here. 

Then I tried to find the pylab. There is only one pylab.py in my computer and it lives at the same site-packages directory as matplotlib, which is /sw/lib/python2.3/site-packages. But Jon is right, it is broken. I had trouble importing pylab. What I don't understand is, matplotlib and pylab are just viewers and the example of 1D diffusion should only use gistViewer. The code tries to use gistViewer before it tries matplotlib. Right?

Another problem I found is, after installing fipy, it creates a Fipy-2.0a1-py2.3.egg directory, instead of a single fipy directory, under the site-packages directory. But there is a fipy under Fipy-2.0a1-py2.3.egg. I can still import fipy. Is that normal?

I tried to install fipy in another machine, but with no luck. That machine has matplotlib working properly. The message I got was "Fatal Python error: Interpreter not initialized (version mismatch?)". The gcc compiler is the same as when python was built.

Again, sorry for all the trouble.

Zhiwen



On Thu, Jul 17, 2008 at 12:59 PM, Jonathan Guyer <guyer-R3+/ord2DXQ@public.gmane.org> wrote:


On Jul 16, 2008, at 10:57 PM, Jonathan Guyer wrote:



On Jul 16, 2008, at 8:28 PM, Zhiwen Liang wrote:

I used fink to install matplotlib, so the path is:
['/sw/lib/python2.3/site-packages/matplotlib']
And the version is 0.87.3.

Please try the same thing with pylab. That's what has the ion() method.

Correction. pylab doesn't have a __path__ attribute (I don't know why matplotlib has one, for that matter).

Please check pylab.__file__





Gmane