[reportlab-users] Unable to install with python 2.7.3
Moretti Sébastien
sebastien.moretti at unil.ch
Thu Nov 29 11:28:20 EST 2012
Once installed at the --root place (in the final python place), tests
run fine.
Tests fail when files are not in the python "normal" tree.
Thanks
>>> My bad,
>>>
>>> try
>>>
>>>
>>> python -c"from reportlab.graphics import renderPM"
>>
>> After
>> cd ./build/lib.linux-x86_64-2.7/
>> the command
>> python -c"from reportlab.graphics import renderPM"
>> returns no error message.
>>
>> It looks setup.py tests does not look at the right place, after a
>> setup.py build
>> OR a setup.py install with --root
>>
>>> renderPM.py is the pixmap renderer that we use for bit maps etc etc. It
>>> needs PIL to run and also the extension _renderPM.so. However, it needs
>>> to initialize its canvas with a standard font (like the PDF canvas) so
>>> we are using the Helvetica outlines (from _a______.pfb).
>>>
>>> You seem to have those so can you also try
>>>
>>> python -c"import PIL" to check that PIL is installed.
>>
>> OK for PIL, no error message.
>>
> well you should be able to run the tests directly in the tests folder by
> running
>
> python ./runAll.py
--
Sébastien Moretti
SIB Vital-IT EMBnet, Quartier Sorge - Genopode
CH-1015 Lausanne, Switzerland
Tel.: +41 (21) 692 4079/4221
http://www.vital-it.ch/ http://myhits.vital-it.ch/
More information about the reportlab-users
mailing list