Re: how to find out vesion of a python module

2009-02-10 Thread Martin
Hi, 2009/2/10 Atishay : > Now the point is, how do I avoid setting LD_LIBRARY_PATH everytime for > python? I know I can write a bash script, but I am sure python would > have some feature that I can tweak to make it work. On debian you can modify * /etc/ld.so.conf and/or * /etc/ld.so.conf.d/..

Re: how to find out vesion of a python module

2009-02-09 Thread Atishay
> > There is no standard way.  However many module authors do include soch > information, usually in an attribute named version or __version__, or > VERSION.  PIL uses the VERSION > > import Image > print Image.VERSION Thank you very much. This works > > > Secondly, I get error if I say "import

Re: how to find out vesion of a python module

2009-02-09 Thread Gary Herron
Atishay wrote: > I have Python Image Library installed. I do not know how to find out > its version. How can I do that? > There is no standard way. However many module authors do include soch information, usually in an attribute named version or __version__, or VERSION. PIL uses the VERSION

how to find out vesion of a python module

2009-02-09 Thread Atishay
I have Python Image Library installed. I do not know how to find out its version. How can I do that? Secondly, I get error if I say "import ImageFont" ImportError: The _imaging C module is not installed I have _imaging module though [bash]# file PIL/_imaging.so PIL/_imaging.so: ELF 32-bit LSB