Re: path error
"Jose M.Allegue" <[email protected]>
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Message-ID | <CAE_xd5BCSBt9dw6-QN+uE3sEMtqtp-4mu-ujeGDi3U8JL7DFNw@mail.gmail.com> |
Thanks. Well I see is a problem with 'my path'. Do you know how to fix it ? El 11/08/2014 10:49, "Andy Robinson" <[email protected]> escribió: > 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 <[email protected]> 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 <[email protected]>: > >> > >> 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 > >> [email protected] > >> http://two.pairlist.net/mailman/listinfo/reportlab-users > > > > > > > > > > -- > > jose m allegue > > > > [email protected] > > > > _______________________________________________ > > reportlab-users mailing list > > [email protected] > > 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 > _______________________________________________ > reportlab-users mailing list > [email protected] > http://two.pairlist.net/mailman/listinfo/reportlab-users >