U need to have python executable path before your script path Eg. C:/Python31/python.exe C:/myScript/hello_world.pyw
Also, make sure your PyQt package path is configured( if its in site-packages it will get added automatically), otherwise gou have to explicitly add the path to system paths using sys.path.append method. On Saturday, May 4, 2013, matthew park <[email protected]> wrote: > Thanks Justin, > > I don't get any error, basically code itself is fine and when I run '*.pyw' file in eclipse editor, the GUI is shown up. > But, I want to run this GUI program in the command prompt of Windows. code is run but GUI isn't shown up if I type like > "C:\myPyQt\blah.pyw myApp parameter" in the command prompt. > > > > > > > On Fri, May 3, 2013 at 2:32 PM, Justin Israel <[email protected]> wrote: >> >> Can you be more specific? It doesn't show up, as in it says "PyQt4" not found? Can you show what you are doing and what error is being raised? >> If you have installed the binary installers for pyqt, then it should be in your site-packages. >> On May 4, 2013, at 2:35 AM, matthew park wrote: >> >> Hi there PyQt experts! >> I am trying to run PyQt Gui in the command line(cmd) in Windows, but it doesn't show up. >> I got python31, SIP, and PyQt. Sip is configured. >> Is there something I missed? >> Thanks a lot!! >> >> Matt, >> -- >> You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. >> To post to this group, send email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. >> To post to this group, send email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > -- > You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
