[reportlab-users] Upgrading from Python 2.6 to 2.7

Justin Shepard jshepdev at gmail.com
Tue Aug 7 16:02:47 EDT 2012

It is just the eclipse editor that doesn't like it. When I run the script I
get the pdfs generated.

Everything installed in the 2.7 folders,
C:\Python27\ArcGIS10.1\Lib\site-packages\reportlab, which is where the
eclipse editor is looking for the interpreter.

Message: 1
Date: Fri, 3 Aug 2012 12:43:22 -0700
From: Tim Roberts <timr at probo.com>
Subject: Re: [reportlab-users] Upgrading from Python 2.6 to 2.7
To: reportlab-users <reportlab-users at lists2.reportlab.com>
Message-ID: <501C29DA.8000604 at probo.com>
Content-Type: text/plain; charset="ISO-8859-1"

Justin Shepard wrote:

> I just upgraded from Python 2.6 to 2.7 and my non-reportlab scripts

> work fine. However, all of my references to reportlab have errors now

> (example: from reportlab.platypus import BaseDocTemplate ==> the

> BaseDocTemplate is underlined red stating unresolved import).

Is it just your editor that doesn't like it, or does it actually fail
when you run it?

> Here's what I've tried:

> 1. Installed v2.7

> 2. Downloaded and installed reportlab for Python 2.7 (yes, the report

> lab library now shows in win explorere; site-packages\reportlab)

How did you install it? Remember that, if you run the installer with
Python 2.6, it will get loaded into the Python 2.6 site-packages, even
if it was the "Python 2.7 reportlab". So, in Windows Explorer, make
sure that you see \python27\lib\site-packages\reportlab, and not just

Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20120807/39939c12/attachment.html>

More information about the reportlab-users mailing list