[reportlab-users] Problems installing ReportLab 2.2 on Ubuntu Hardy

Federico Fanton federico at panizzolo.it
Thu Mar 12 11:28:15 EDT 2009


Cameron Booth wrote:

> Hi there,

>

> I'm having some difficulty getting Reportlab 2.2 to install on my Ubuntu

> Hardy machine. I downloaded the ReportLab_2_3.tar.gz file, untarred it,

> and have run "python setup.py install", but it fails out with the

> following error:

>

> running build_ext

> building '_rl_accel' extension

> creating

> build/temp.linux-x86_64-2.5/usr/lib/python2.5/site-packages/ReportLab_2_3/src/rl_addons/rl_accel

> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall

> -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c

> /usr/lib/python2.5/site-packages/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c

> -o

> build/temp.linux-x86_64-2.5/usr/lib/python2.5/site-packages/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.o

> /usr/lib/python2.5/site-packages/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:11:20:

> error: Python.h: No such file or directory


sudo apt-get install python2.5-dev
then retry "python setup.py install" :)


More information about the reportlab-users mailing list