On Wed, 24 Oct 2007, Aditya Lal wrote: > Date: Wed, 24 Oct 2007 07:18:40 -0700 (PDT) > From: Aditya Lal <[EMAIL PROTECTED]> > Reply-To: <[email protected]> > To: <[email protected]> > Subject: Re: [twincling] module installation in python > > I used "easy_install" for all the modules and they got installed. Though I am > not on Suse, I think they should work on Suse as well. > > $ [sudo] easy_install cElementTree ElementTree pyCrypto Paramiko bzr > > You can download easy_install from > http://peak.telecommunity.com/DevCenter/EasyInstall. I haven't done more > research in this area but there is ample documentation available on the site. > > In short - easy_install does for python modules what apt-get does for debian > packages. > > HTH > > ----- Original Message ---- > From: Saifi Khan <[EMAIL PROTECTED]> > To: [email protected] > Sent: Wednesday, October 24, 2007 12:13:08 AM > Subject: [twincling] module installation in python > > > Hi all: > > Can any of the experienced python programmer's > share info about how to install python modules. > > The modules are: > . Paramiko > . pyCrypto > . cElementTree > . ElementTree > > Is there a command within python to be used to > install modules or they just have to be copied > to a specific directory ? > > I ran python -V to check version of python. > It is 2.5 on OpenSuSe 10.2 on x86 laptop. > > By way of background, I am trying to use > Bazaar Version control system. The client > side tools ie. bzr tools are written in python. > > Any body interested in Bazaar, please see > http://bazaar-vcs.org/ > > Thanks in advance. > > > thanks > Saifi. >
Hi Aditya: Thanks for the info about easy_install. Sriphani had suggested downloading the packages and running the command 'python setup.py install' For the commands to work, python-devel package is required. So I installed the devel RPM package using YaST and then the rest of the python modules. Dig'd a little deeper and found that paramiko and pycryto are essential crypto and ssh2 lib for python. Hopefully they will include that in python packge so that the slogan 'batteries included' continue to be true. I'm a python newbie and had never had the need to install or use python until I got to bzr. Thanks to you and Sriphani for the assistance. thanks Saifi.

