I have configured Sublime Text 3 to build a python script from my installation of the Anaconda3 distribution. I have a 'hello world' python script that prints successfully. The default python build system also works.
However, when I try to run a gui script compiled from qtdesigner, the gui is not displayed, and no error is provided. I think it is just suppressing the gui, but I can't figure out how to force it (or configure it) to do so.
If I build the the default Python default system the gui displays -- so there must be some setting I can set to disable this windows gui suppression when using the Anaconda3 build system. Below is the Anaconda3.sublime-build json file used:
{
"cmd": ["C:\\ProgramData\\Anaconda3\\python","-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
I'm working on a PC, running Windows 10 with the latest install of Anaconda3 and Sublime Text 3.
Thanks for the help.
This may do the trick. It starts the python process in an external
cmd
window, running your program from the command line instead of inside Sublime.