[reportlab-users] Problem with renderPM

Robin Becker reportlab-users@reportlab.com
Sat, 14 Jun 2003 19:08:55 +0100


In article <1055614009.7027.11.camel@melba.linux.ott>, Geoff Wright
<geoffwright@rogers.com> writes
>On Gentoo 1.4-rc3
>python2.2.2
>reportlab1.17
>
you need to build and install the _renderPM extension. That should be
doable using.

python setup.py build
python setup.py install

in the  renderPM source directory.

>I am not able to import the renderPM module.
>
>from reportlab.graphics import renderPS --> succeeds
>
>from reportlab.graphics import renderPM --> fails with the following
>error message.
>
>
>>>> from reportlab.graphics import renderPM
>Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
>  File
>"/usr/lib/python2.2/site-packages/reportlab/graphics/renderPM.py", line
>28, in ?
>    raise ImportError, "No module named _renderPM\n" + \
>ImportError: No module named _renderPM
>see http://www.reportlab.com/rl_addons.html
>
>
>I have downloaded the latest renderPM 0.9 but I am not sure what to do
>with it.  I couldn't find any docs or READMEs with it.  What am I
>missing here?
>
>Thanks in advance for your help.
>
>geoff

-- 
Robin Becker