[reportlab-users] path error

Andy Robinson andy at reportlab.com
Mon Aug 11 04:49:29 EDT 2014


OH, so the initial import of reportlab is failing?  If your first 7
lines are just import statements and you are not doing anything
strange, this suggests that your Python path is not set correctly.
It's unlikely to be anything to do with our library.

- Andy



On 11 August 2014 09:05, Jose M.Allegue <jmallegue at gmail.com> wrote:
> Sure. Thanks
>
>>>> ================================ RESTART
>>>> ================================
>>>>
> Traceback (most recent call last):
>   File "<frozen importlib._bootstrap>", line 2218, in
> _find_and_load_unlocked
> AttributeError: 'module' object has no attribute '__path__'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "C:\Python34\Scripts_jmab\ASA\ASA2AW139\SECTOR_SEARCH_reportlab.py",
> line 7, in <module>
>     from reportlab.pdfgen import canvas
>   File "C:\Python34\reportlab.py", line 3, in <module>
>     from reportlab.pdfgen import canvas
> ImportError: No module named 'reportlab.pdfgen'; 'reportlab' is not a
> package
>>>>
>
>
> 2014-08-11 10:00 GMT+02:00 Andy Robinson <andy at reportlab.com>:
>>
>> Can please you send us a piece of code which reproduces the error?
>>
>> Thanks,
>>
>>
>> --
>> Andy Robinson
>> Managing Director
>> ReportLab Europe Ltd.
>> Thornton House, Thornton Road, Wimbledon, London SW19 4NG, UK
>> Tel +44-20-8405-6420
>> _______________________________________________
>> reportlab-users mailing list
>> reportlab-users at lists2.reportlab.com
>> http://two.pairlist.net/mailman/listinfo/reportlab-users
>
>
>
>
> --
> jose m allegue
>
> jmallegue at gmail.com
>
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at lists2.reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
>



-- 
Andy Robinson
Managing Director
ReportLab Europe Ltd.
Thornton House, Thornton Road, Wimbledon, London SW19 4NG, UK
Tel +44-20-8405-6420


More information about the reportlab-users mailing list