Re: Error with reportlab in Odoo 12 community edition

Andy Robinson <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <CABjtApubqLVdLAzTcrZOSm2GameKo928kwa_4Qp=Ae1N11USLg@mail.gmail.com>
I know nothing about Odoo.  Does it require reportlab to be installed, or
does it bundle it?

If you install reportlab normally with 'python setup.py install' or 'pip
install', it will compile a C extension called _renderPM, used for bitmap
graphics and charts.   However this requires various libraries to be on the
system for the compilation to succeed.  It may be worth trying to install
reportlab in a fresh virtual environment, and watching for compiler errors
as it runs...

Hope this helps,

Andy Robinson

On Sun, 29 Sep 2019 at 02:35, Jorge Hugo Jaramillo Zapata <
[email protected]> wrote:

> Hello everybody,
>
>
> I get the error:
>
> File "/usr/lib/python3/dist-packages/reportlab/graphics/renderPM.py", line
> 28, in <module>
> from reportlab.graphics import _renderPM
> ImportError: name '_renderPM' cannot be imported
>
> when I try to use an ERP Odoo 12 community edition module
>
>
> I've tried to fix it by reinstalling development tools and reportlab, but
> I'm still getting the same error.
>
>
>
> I've odoo 12 community edition installed on a Linux Mint 19.2
>
>
> What do I need to do to solve this issue?
>
>
> Thanks for the support
>
>
> Best regards,
>
> *Hugo Jaramillo*
> _______________________________________________
> reportlab-users mailing list
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>


-- 
Andy Robinson
Managing Director, ReportLab
Wimbletech Zone 2
35 Wimbledon Hill Road
London SW19 7NB, UK
Tel +44-20-8191-7277
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.