Re: docx/lxml

2012-07-31 Thread Cyrille Leroux
On Tuesday, July 31, 2012 5:13:12 PM UTC+2, Stefan Behnel wrote: > Cyrille Leroux, 31.07.2012 17:01: > > > I'm giving pip a try : > > > > > > > > > 1/ Linux (debian lenny) > > > - (as root) sh setuptools-0.6c11-py2.7.egg (ok) > > > - (as root) cd pip-1.1 ; python setup.py install (ok) > >

Re: docx/lxml

2012-07-31 Thread Stefan Behnel
Cyrille Leroux, 31.07.2012 17:01: > I'm giving pip a try : > > > 1/ Linux (debian lenny) > - (as root) sh setuptools-0.6c11-py2.7.egg (ok) > - (as root) cd pip-1.1 ; python setup.py install (ok) > - pip : ImportError : No module named pkg_resources > - damn, I guess it's going to be a pain, again

Re: docx/lxml

2012-07-31 Thread Cyrille Leroux
es ? > > > > > > Regards, > > > > > > Cyrille > > > > Hi, > > > > May I suggest you use pip and, possibly, virtualenv? > > pip makes it easy to install Python packages while virtualenv creates an > isolated Python envi

Re: docx/lxml

2012-07-31 Thread Pedro Kroger
thon packages while virtualenv creates an isolated Python environment For instance, I just installed docx and its dependencies with: pip install docx lxml datutils PIL And I did that inside a testing virtualenv, so I wouldn't mess up my Python setup. pip and virtualenv make it really easy

docx/lxml

2012-07-31 Thread cyrille . leroux
Hello, I'm trying to use the docx package to generate documents containing some text and tables. I don't want to install any module since I just want my coworkers to copy a directory and run a script, without installing tons of softwares (Just python2.7 which is already installed). First, I d