17 Jul 02:28
Re: Problems on Installing New Fipy
From: Zhiwen Liang <lzwpurdue@...>
Subject: Re: Problems on Installing New Fipy
Newsgroups: gmane.comp.python.fipy
Date: 2008-07-17 00:28:33 GMT
Subject: Re: Problems on Installing New Fipy
Newsgroups: gmane.comp.python.fipy
Date: 2008-07-17 00:28:33 GMT
Hi,
I used fink to install matplotlib, so the path is:
['/sw/lib/python2.3/site-packages/matplotlib']
And the version is 0.87.3.
Thanks,
Zhiwen
On Wed, Jul 16, 2008 at 6:26 PM, Daniel Wheeler <daniel.wheeler2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
What happens when you do "python -c 'import matplotlib; print
matplotlib.__path__'"?--
On Wed, Jul 16, 2008 at 5:32 PM, Zhiwen Liang <lzwpurdue-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hi,
> On Wed, Jul 16, 2008 at 5:04 PM, Jonathan Guyer <guyer-R3+/ord2DXQ@public.gmane.org> wrote:
>>
>>
>> On Jul 16, 2008, at 4:37 PM, Zhiwen Liang wrote:
>>
>>> I tried the diffusion example but got the following error:
>>
>> :
>> :
>>
>>
>>> "matplotlibViewer: 'module' object has no attribute 'ion'"
>>
>> leads me to believe that you have a module (or something) called "pylab"
>> somewhere on your PYTHONPATH that is confusing matters. What does
>>
>> $ ls -l ~/Library/Python/2.3/site-packages/
>>
>> return?
>
>
> $ ls -l ~/Library/Python/2.3/site-packages/ returns the following:
>
> -rw-r--r-- 1 liangz liangz 214 Jul 16 14:39 easy-install.pth
> drwxr-xr-x 19 liangz liangz 646 Jul 16 14:53 fipy
> drwxr-xr-x 10 liangz liangz 340 Jul 16 14:39 setuptools-0.6c8-py2.3.egg
> -rw-r--r-- 1 liangz liangz 29 Jul 16 14:39 setuptools.pth
> -rw-r--r-- 1 liangz liangz 2362 Jul 16 14:39 site.py
> -rw-r--r-- 1 liangz liangz 2025 Jul 16 14:39 site.pyc
> They are just setuptools and fipy that I just installed. But I did find
> "pylab.py" under another site-packages. And matplotlib is at that same
> directory. I don't know where it comes from. Maybe it is installed together
> with matplotlib.
>>
>>
>>
>>> It would be more convenient to use "stow" to have different versions of
>>> the same application and then "stow" the version you like. This will require
>>> installing things in a stow directory.
>>
>> I've never heard of "stow", but found this:
>>
>>
>> http://www.velocityreviews.com/forums/t331589-is-there-any-way-to-make-python-play-well-with-stow.html
>>
>> I've used FiPy with virtualenv and it works fine (I will do some
>> confirmatory tests, however)
>>
>
> Thank you very much. I didn't know that before.
> Thanks again,
> Zhiwen
>
Daniel Wheeler
RSS Feed