LUK ShunTim | 16 Jul 06:09
Picon

Re: Problems on Installing New Fipy


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.
> 
> 

Hello,

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
--


Gmane