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