Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'exception': 0.03; 'sys': 0.05; '__name__': 0.07; 'line:': 0.07; 'main()': 0.07; 'raised': 0.07; 'skip:/ 10': 0.07; 'importerror': 0.09; 'subject:module': 0.09; 'unhandled': 0.09; 'def': 0.10; 'gui': 0.11; 'tutorials': 0.15; "'__main__':": 0.16; 'debugged': 0.16; 'main():': 0.16; 'quite.': 0.16; 'subject:Eric': 0.16; 'appears': 0.18; 'app': 0.19; 'module': 0.19; 'followed': 0.20; 'import': 0.21; 'error.': 0.21; 'file:': 0.22; "haven't": 0.23; "i've": 0.23; 'tried': 0.25; 'header:User-Agent:1': 0.26; 'received:10.0.0': 0.28; '"no': 0.29; 'skip:q 20': 0.29; 'this.': 0.29; "i'm": 0.29; 'error': 0.30; 'skip:! 10': 0.33; 'received:10.0': 0.33; 'to:addr:python-list': 0.33; 'code:': 0.33; 'entered': 0.34; 'eric': 0.35; 'path': 0.35; 'something': 0.35; 'but': 0.36; 'anything': 0.36; 'thank': 0.36; 'two': 0.37; 'received:10': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'think': 0.40; 'skip:u 10': 0.60; 'day': 0.73; 'miss': 0.75; 'received:61': 0.75; 'phil': 0.91 X-Authentication-Info: Submitted using ID phil_lor@bigpond.com X-Authority-Analysis: v=2.0 cv=APSpfbFe c=1 sm=1 a=F4EmiCWD0tqd/gkRKRISIQ==:17 a=pTzqZbqM9tkA:10 a=gj8SlWetQNQA:10 a=JDadKst33uMA:10 a=8nJEP1OIZ-IA:10 a=1IlZJK9HAAAA:8 a=BgVxmMzM6qgA:10 a=OrRicZjv4mmGHze3i-QA:9 a=wPNLvfGTeEIA:10 a=F4EmiCWD0tqd/gkRKRISIQ==:117 Date: Sun, 17 Feb 2013 19:08:22 +1000 From: Phil User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: python-list@python.org Subject: Eric - "No module named MainWindow" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 37 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361097268 news.xs4all.nl 6953 [2001:888:2000:d::a6]:50898 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39027 Thank you for reading this. I've been playing with Eric all day and I almost have a working GUI application, but not quite. I have followed the two tutorials on the Eric site and I'm sure that I haven't miss entered anything and so I think the error is the result of something missing from my system or perhaps a path error. This is the error message: The debugged program raised the exception unhandled ImportError "No module named MainWindow" File: /home/phil/main.py, Line: 4 And this is the code: !/usr/bin/python from PyQt4.QtGui import QApplication from ui.MainWindow import MainWindow def main(): import sys app = QApplication(sys.argv) wnd = MainWindow() wnd.show() sys.exit(app.exec_()) if __name__ == '__main__': main() I have tried mainWindow and mainwindow as well so it appears not to be a case error. -- Regards, Phil