Re: Installing Lightweight Python

2010-05-19 Thread News123
Nima Mohammadi wrote: > Well, I tried to run Python with -v option. It seems that python26.zip > is partially loaded but can't be used, because zlib is "unavailable". This is normal. the zip library itself cannot be zipped, as it is needed to unzip and extract th other libs. > > n...@nima-deskt

Re: Installing Lightweight Python

2010-05-17 Thread Stephen Hansen
On Mon, May 17, 2010 at 2:04 PM, Nima Mohammadi wrote: > On May 18, 12:30 am, geremy condra wrote: > > On Mon, May 17, 2010 at 1:05 PM, Nima wrote: > > > Well, I tried to run Python with -v option. It seems that python26.zip > is > > > partially loaded but can't be used, because zlib is "unavai

Re: Installing Lightweight Python

2010-05-17 Thread Nima Mohammadi
On May 18, 1:04 am, Nima Mohammadi wrote: > On May 18, 12:30 am, geremy condra wrote: > > > On Mon, May 17, 2010 at 1:05 PM, Nima wrote: > > > Well, I tried to run Python with -v option. It seems that python26.zip is > > > partially loaded but can't be used, because zlib is "unavailable". > > >

Re: Installing Lightweight Python

2010-05-17 Thread Nima Mohammadi
On May 18, 12:30 am, geremy condra wrote: > On Mon, May 17, 2010 at 1:05 PM, Nima wrote: > > Well, I tried to run Python with -v option. It seems that python26.zip is > > partially loaded but can't be used, because zlib is "unavailable". > > is the zlib module among the files you've compressed? >

Re: Installing Lightweight Python

2010-05-17 Thread geremy condra
On Mon, May 17, 2010 at 1:05 PM, Nima wrote: > Well, I tried to run Python with -v option. It seems that python26.zip is > partially loaded but can't be used, because zlib is "unavailable". is the zlib module among the files you've compressed? Geremy Condra -- http://mail.python.org/mailman/lis

Re: Installing Lightweight Python

2010-05-17 Thread Nima Mohammadi
Well, I tried to run Python with -v option. It seems that python26.zip is partially loaded but can't be used, because zlib is "unavailable". n...@nima-desktop:~/py$ ./bin/python -v Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONH

Re: Installing Lightweight Python

2010-05-17 Thread Nima
Well, I tried to run Python with -v option. It seems that python26.zip is partially loaded but can't be used, because zlib is "unavailable". n...@nima-desktop:~/py$ ./bin/*python -v* Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHO

Re: Installing Lightweight Python

2010-05-17 Thread Nima Mohammadi
Thanks Geremy :) The majority of installed files (56MB of data) reside in /lib/ python2.6/. So far, I took these steps to make it as compact as possible: 1. I deleted /lib/python2.6/test directory. This reduced the size by 20MB. 2. I deleted .py files (cause the corresponding pyc ones are there).

Re: Installing Lightweight Python

2010-05-17 Thread geremy condra
On Mon, May 17, 2010 at 9:12 AM, Nima wrote: > I'd like to install python on an embedded system. It's a powerful x86- > based computer with the only limitation of having a small-size flash > ROM as its secondary storage. So there is no hard drive and the system > is booted from the flash memory. >