[Windows] Opening QtConsole via Start Menu shortcut also opens a terminal window ("python.exe") in the background
See original GitHub issueI have an issue that appeared recently, which I’m having trouble figuring out. When I start QtConsole via the Start Menu shortcut provided by menuinst, I get a CMD/terminal window in the background (in addition to the QtConsole window). The terminal is titled something like C:\Users\filip\Anaconda3\envs\py3\python.exe
(depending on which shortcut I use, I have one for each env). I use a shortcut with the following Target
C:\Users\filip\Anaconda3\pythonw.exe C:\Users\filip\Anaconda3\cwp.py C:\Users\filip\Anaconda3\envs\py3 "C:/Users/filip/Anaconda3/envs/py3/pythonw.exe" "C:/Users/filip/Anaconda3/envs/py3/Scripts/jupyter-qtconsole-script.py"
I didn’t use to get this extra terminal window, and I know the change happened after doing some conda upgrade
’s, but I have not been able to pinpoint exactly which upgrade it was. I upgraded my root environment though, so I think it might be related to a change in C:\Users\filip\Anaconda3\pythonw.exe
.
The reason I’m posting this here is because all other shortcuts still work the way they used to (Spyder, Thonny, Jupyter Notebook etc.), it’s just the Jupyter QtConsole that get the extra terminal window.
I have tried creating a new env and installing older versions of qtconsole and python, but have had no luck yet. But C:\Users\filip\Anaconda3\pythonw.exe
is always called first when starting via the shortcut, that’s why I suspect a change in that executable.
Here’s my jupyter-qtconsole-script.py
from qtconsole.qtconsoleapp import main
if __name__ == '__main__':
main()
I my root/base env I have python 3.6.5, qtconsole 4.3.1 and ipython 6.4.0.
I would be grateful for any help I can get figuring this out. Sorry if this i not the right forum for this issue!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5
Top GitHub Comments
@FSund check out this stack overflow question and answer:
https://stackoverflow.com/questions/52297593/how-to-launch-recent-jupyter-qtconsole-on-windows-without-a-console-window/52300401#52300401
This looks like an Anaconda Issue, not a qtconsole issue. Probably should close this, unless there is further information available
I have filed a bug against
conda-forge/qtconsole-feedstock
regarding this issue. https://github.com/conda-forge/qtconsole-feedstock/issues/15