16 Jul 21:14
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-16 19:14:18 GMT
Subject: Re: Problems on Installing New Fipy
Newsgroups: gmane.comp.python.fipy
Date: 2008-07-16 19:14:18 GMT
On Wed, Jul 16, 2008 at 12:09 AM, LUK ShunTim <shuntim.luk-KoIT2pUv8WgCxDl3mouYzw@public.gmane.org> wrote:
Hello,
Jonathan Guyer wrote:
>
>
> On Jul 15, 2008, at 4:38 PM, Zhiwen Liang wrote:
>
>>> Sorry for bothering. I was trying to update fipy to the current trunk
>>> subversion but failed. I noticed the setup.py uses "setuptools" which
>>> is not in my machine yet. So I downloaded the egg for python 2.3 and
>>> installed it. But I still could not install fipy. I got it build
>>> though. The message I got after I say "python setup.py install
>>> --prefix=..." is:
>
>
>>>
>>> NameError: global name 'log' is not defined
>
> I don't know what that error message means, and I'm also not clear on
> what egg you mean. The installation procedure for setuptools that I know
> about is at
>
>
> http://peak.telecommunity.com/DevCenter/EasyInstall#installation-instructions
>
>
> I recommend that you delete
> /sw/lib/python2.3/site-packages/setuptools-0.6c8-py2.3.egg and then
> follow those instructions.
>
> Once trunk/ is stabilized, the use and installation of setuptools should
> be automated, but we're not there yet.
>
>
I ran into this a few days ago. It appears the subversion 1.5 is not
recognised by setuptools. The patch here fixes it.
http://bugs.python.org/issue2770
Regards,
ST
--
Thank you very much for providing the information. I used the patch and now I can install fipy. I think except for the bug in setuptools, my biggest problem was I tried to install fipy in a directory that setuptools does not like. Please see:
However, if I install fipy in ~/Library/Python/2.3/site-packages/, as required, I have problem with my other modules. I really hope that I can install fipy in the place I want. So I wonder if there is a setup.py that does not use setuptools but still can install the new fipy?
Sorry for the trouble.
Zhiwen
RSS Feed