18 Jul 16:40
Re: Problems on Installing New Fipy
From: Daniel Wheeler <daniel.wheeler2@...>
Subject: Re: Problems on Installing New Fipy
Newsgroups: gmane.comp.python.fipy
Date: 2008-07-18 14:40:07 GMT
Subject: Re: Problems on Installing New Fipy
Newsgroups: gmane.comp.python.fipy
Date: 2008-07-18 14:40:07 GMT
On Thu, Jul 17, 2008 at 5:30 PM, Zhiwen Liang <lzwpurdue@...> wrote: > 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. I would say that python 2.3 is getting a little old at this point, not that things shouldn't work of course, but a lot of people are using 2.5 now. > But Jon is right, it is broken. I had > trouble importing pylab. What actually happens when you import pylab or matplotlib? You could make fink reinstall matplotlib and see if it deals with any issues. > What I don't understand is, matplotlib and pylab > are just viewers and the example of 1D diffusion should only use gistViewer. FiPy can use either gist, gnuplot, matplotlib and mayavi for all dimensions, but I'm not sure about the precedence. You can specify which viewer you prefer by setting a "FIPY_VIEWER" environment variable to be one of "gist", "matplotlib", "gnuplot" or "mayavi". > The code tries to use gistViewer before it tries matplotlib. Right? Just specify the environment variable to be sure. > 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. Why is that a problem? > But there is a fipy under Fipy-2.0a1-py2.3.egg. > I can still import fipy. Is that normal? I don't know. Understanding the egg hocus-pocus seems unnecessary. The important consideration is whether the fipy installation works. Does it? > 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?)". At what point did you get this message? Did "python setup.py install" in the fipy directory do its thing without barfing? -- -- Daniel Wheeler
RSS Feed