On Aug 9, 5:31 pm, Richard Ash <[email protected]> wrote:
> > To: [email protected]
> > Sent: Mon, 9 August, 2010 14:07:14
> > Subject: Re: [mwlib] ImportError: No module named render
>
> > On 09/08/10 10:58, Ralf Schmitt wrote:
> > > It probably doesn't matter. That version of mwlib won't work with python
> > > 2.4.
>
> > Oh, and is there any advice/instructions on installing mwlib.rl on
> > Python 2.4? ("Don't" doesn't count, ;)).
>
> Search in the archives for the message which explained that the next release 
> of
> mwlib wouldn't support python 2.4, and use the previous version? There will of
> course be bugs, but the same is true of python 2.4
>
> You could always install a more current version of python alongside 2.4 on
> Centos if you insist upon a prehistoric OS but don't mind some of the real 
> world
> creeping into your time warp.

OK, I've tried this latter suggestion, and hit a different problem.
mwlib thinks I've not got PIL, but in fact I do:

# ls /usr/local/python-2.7/lib/python2.7/site-packages/
easy-install.pth
flup-1.0.3.dev_20100525-py2.7.egg
lockfile-0.8-py2.7.egg
mwlib-0.12.13-py2.7-linux-x86_64.egg
mwlib.ext-0.12.3-py2.7-linux-x86_64.egg
mwlib.rl-0.12.5-py2.7.egg
odfpy-0.9.2-py2.7.egg
PIL-1.1.7-py2.7-linux-x86_64.egg
Pygments-1.3.1-py2.7.egg
pyparsing-1.5.3-py2.7.egg
pyPdf-1.12-py2.7.egg
README
setuptools-0.6c11-py2.7.egg
setuptools.pth
timelib-0.2.1-py2.7-linux-x86_64.egg
Twisted-10.1.0-py2.7-linux-x86_64.egg
WebOb-0.9.8-py2.7.egg
zope.interface-3.6.1-py2.7-linux-x86_64.egg

and then:

Searching for mwlib>=0.12.13,<0.13
Reading http://pypi.python.org/simple/mwlib/
Best match: mwlib 0.12.13
Downloading 
http://pypi.python.org/packages/source/m/mwlib/mwlib-0.12.13.tar.gz#md5=f61bf2c8d377c12075f28462af9f124b
Processing mwlib-0.12.13.tar.gz
Running mwlib-0.12.13/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-UnbIOl/mwlib-0.12.13/egg-dist-tmp-_WcPXF
USING: mwlib.templ.nodes mwlib/templ/nodes.c
USING: mwlib.templ.evaluate mwlib/templ/evaluate.c
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++


    *****************************************************
    * please install the python imaging library (PIL)
    * from http://www.pythonware.com/products/pil/
    *****************************************************

and:

# mw-render --list-writers
rl      <NOT LOADABLE: No module named PIL>
xhtml   XHTML 1.0 Transitional
odf     OpenDocument Text
docbook <NOT LOADABLE: No module named lxml>


Any ideas?

John.

--
John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake

>
> Richard Ash

-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mwlib?hl=en.

Reply via email to