[PyKDE] eric3 import troubles

Detlev Offenbach detlev at die-offenbachs.de
Mon Jun 5 09:57:56 BST 2006


Am Montag, 5. Juni 2006 09:27 schrieb mike arnott:
> Hi all,
>
> I'm a developer on pyflag.sf.net and wanted to try out eric3 as an
> IDE.  I am using the latest version 3.9.0 but I am having an import
> problem.  The line of (my) code is:
>
> import pyflag.Reports as Reports
>
> My 'main' script for the project is:
>
> ~/pyflag/src/pyflag/FlagHTTPServer.py
>
> with a working directory of ~/pyflag/src
>
> Reports.py is in ~/pyflag/src/pyflag/Reports.py - hence why it is
> imported as pyflag.Reports.
>
> This works find when running in a terminal, however when run in eric3 I
> get:
>
> Unhandled import error no module name pyflag.Reports
>
> This seems to happen irrespective of whether I have added
> ~/pyflag/src/pyflag/Reports.py to the project.
>
> Any help?
>
> Thanks
>
> G
>

Are you setting the working directory in the run/debug dialog?

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list