[PyKDE] eric3 import troubles

mike arnott greg912 at gmail.com
Mon Jun 5 08:27:55 BST 2006


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




More information about the PyQt mailing list