Hello.
I have some problem with jupyter Qtconsole. I am using WinPython 3.4 64bit for some scientific calculation. Today something strange happens. When I open Spyder IPython console does not work.
I try to install new version of WinPython 3.5 with same result. I try to start command jupyter qtconsole
and get empty console window with no prompt of ipython like show on attachment.

When I try start jupyter console everything is working fine also jupyter notebook is working. Qt Demo program from WinPython also working. I try to run jupyter qtconsole --debug and get following output:
C:ProgramsWinPythonpython-3.5.1.amd64>jupyter qtconsole --debug
[JupyterQtConsoleApp] Config changed:
[JupyterQtConsoleApp] {'JupyterQtConsoleApp': {'log_level': 10}}
[JupyterQtConsoleApp] Searching ['C:ProgramsWinPythonpython-3.5.1.amd64', 'C:ProgramsWinPythonsettings.jupyter', 'C:ProgramsWinPythonpython-3.5.1.amd64etcjupyter', 'C:Program
Datajupyter'] for config files
[JupyterQtConsoleApp] Looking for jupyter_config in C:ProgramDatajupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:ProgramsWinPythonpython-3.5.1.amd64etcjupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:ProgramsWinPythonsettings.jupyter
[JupyterQtConsoleApp] Looking for jupyter_config in C:ProgramsWinPythonpython-3.5.1.amd64
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:ProgramDatajupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:ProgramsWinPythonpython-3.5.1.amd64etcjupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:ProgramsWinPythonsettings.jupyter
[JupyterQtConsoleApp] Looking for jupyter_qtconsole_config in C:ProgramsWinPythonpython-3.5.1.amd64
[JupyterQtConsoleApp] Config changed:
[JupyterQtConsoleApp] {'JupyterQtConsoleApp': {'log_level': 10}}
[JupyterQtConsoleApp] Connection File not found: C:ProgramsWinPythonsettingsruntimekernel-1324.json
[JupyterQtConsoleApp] Native kernel (python3) available from C:ProgramsWinPythonpython-3.5.1.amd64libsite-packagesipykernelresources
[JupyterQtConsoleApp] Starting kernel: ['C:ProgramsWinPythonpython-3.5.1.amd64python.exe', '-m', 'ipykernel', '-f', 'C:ProgramsWinPythonsettingsruntimekernel-1324.json']
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:1892
[JupyterQtConsoleApp] connecting shell channel to tcp://127.0.0.1:1889
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:1889
[JupyterQtConsoleApp] connecting iopub channel to tcp://127.0.0.1:1890
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:1890
[JupyterQtConsoleApp] connecting stdin channel to tcp://127.0.0.1:1891
[JupyterQtConsoleApp] Connecting to: tcp://127.0.0.1:1891
[JupyterQtConsoleApp] connecting heartbeat channel to tcp://127.0.0.1:1893
I check on different computer and get similar output but qtconsole is working fine.
Can you suggest any solutions for this problem?
Ping @ccordoba12 - have you ever seen anything like this?
@raminus if you have more issues with the qtconsole, there's a separate jupyter/qtconsole repo to file tickets on. We can try to debug this one here, though.
Nop. Pinging @stonebig who is the WinPython maintainer.
@takluyver Thank You for your attention. I am long time ipython/jupyter user but this is first time when I stumbled on a problem with I couldn't solve using some internet search engine and time. So I am very sorry for misplaced my Issue but I am not quite acquainted with organisation here.
hi @raminus
Let's try a few things:
If no progress so far, to have a better clue you may provide:
Hello @stonebig thank you for your reply. I see now that I don't explain whole actions I done to repair this problem.
First I explain my system configuration. I am using Windows 7 Ultimate 64 bit operating system with Service Pack 1, for python I used WinPython 3.4.3.6 64 bit with Qt5 for quite some time with is laying on C drive only extra library I use is nptdms, pyDOE installed via pip installer.
Second I mechanical engineer on technical university typically use python for data processing of lab result. For example we record cutting force in girding process using National Instruments solutions an in result I get TDMS file with data. And using python I run fast furrier transformation, data filtering, linearisation of signal and other different things for signal processing.
I also use python for creating mathematical models using regression based on recorded data. And to prepare research plans using pyDOE. I also use python for some other thing won't worth mention, like RaspberryPi programming etc.
Problem occurred when I try to read data from oscilloscope. I have 10M csv file with I try to read using numpy.genfromtxt("DS0001.csv") but I forget to use rowskip=16 so I stop using button showed on picture below. And next i restart kernel.

And after this I experience problem showed in original post.
Now I describe what I done to solve a problem.
C:\Users\mark\WinPython 3.5.1.2' and try to run Spyder form this instance with empty IPython window. so I runjupyter qtconsole --debug` with result similar like in original post but different network ports.netstat -a ports are in LISTENING state and ESTABLISHED. To check if everything is OK I try to disable Kaspersky firewall, but it does not help.
C:\Programs\ where I typically store Python instance, and using windows command line I try to reinstall jupyter with command pip uninstall jupyter and pip install jupyter but after this I still don't have prompt.Anaconda3-2.5.0-Windows-x86_64 but in this instance of python also when I run jupyter qtconsole don't get prompt.Microsoft Visual C++ 2010 Redistributable Package (x64) SP1 but also with no result.So I wrote original post with asking for help.
In respond to @stonebig i put pip list result.
C:ProgramsWinPythonpython-3.5.1.amd64>pip list
adodbapi (2.6.0.7)
alabaster (0.7.7)
astroid (1.4.4)
astroML (0.3)
Babel (2.2.0)
backports-abc (0.4)
baresql (0.7.3)
bcolz (0.12.1)
beautifulsoup4 (4.4.1)
blaze (0.9.1)
blosc (1.2.8)
bloscpack (0.9.0)
bokeh (0.11.1)
Bottleneck (1.0.0)
bqplot (0.5.1)
brewer2mpl (1.4.1)
castra (0.1.6)
certifi (2015.11.20.1)
cffi (1.5.0)
click (6.2)
cloudpickle (0.1.1)
colorama (0.3.5)
cvxopt (1.1.7)
cx-Freeze (4.3.4)
cycler (0.9.0)
cyordereddict (0.2.2)
Cython (0.23.4)
cytoolz (0.7.4)
dask (0.7.6)
datashape (0.5.1)
db.py (0.4.4)
decorator (4.0.6)
dill (0.2.4)
docopt (0.6.2)
docutils (0.12)
emcee (2.1.0)
Flask (0.10.1)
Flask-Cors (2.1.2)
formlayout (1.1.0)
geopy (1.11.0)
greenlet (0.4.9)
guidata (1.7.5)
guiqwt (3.0.2)
h5py (2.5.0)
holoviews (1.4.1)
html5lib (0.9999999)
husl (4.0.3)
idlex (1.13)
ipykernel (4.2.2)
ipyparallel (5.0.0)
ipython (4.1.1)
ipython-genutils (0.1.0)
ipython-sql (0.3.7.1)
ipywidgets (4.1.1)
itsdangerous (0.24)
jedi (0.9.0)
Jinja2 (2.8)
joblib (0.9.4)
jsonschema (2.5.1)
julia (0.1.1.8)
jupyter (1.0.0)
jupyter-client (4.1.1)
jupyter-console (4.1.0)
jupyter-core (4.0.6)
Keras (0.3.1)
lazy-object-proxy (1.2.1)
llvmlite (0.8.0)
lmfit (0.9.2)
locket (0.2.0)
lxml (3.5.0)
Markdown (2.6.5)
MarkupSafe (0.23)
matplotlib (1.5.1)
mistune (0.7.1)
mpld3 (0.2)
multipledispatch (0.4.8)
mysql-connector-python (2.0.4)
nbconvert (4.1.0)
nbformat (4.0.1)
netCDF4 (1.2.2)
networkx (1.10)
nltk (3.0.5)
nose (1.3.7)
notebook (4.1.0)
numba (0.23.1)
numexpr (2.4.6)
numpy (1.10.4)
numpydoc (0.5)
oct2py (3.4.0)
odo (0.4.1)
pandas (0.17.1)
pandas-datareader (0.2.0)
param (1.3.2)
partd (0.3.2)
path.py (8.1.2)
patsy (0.4.1)
pep8 (1.7.0)
pg8000 (1.10.2)
pickleshare (0.6)
Pillow (3.1.1)
pip (8.0.2)
pkginfo (1.2.1)
prettytable (0.7.2)
prompt-toolkit (0.57)
psutil (3.4.2)
ptpython (0.28)
PuLP (1.6.1)
py (1.4.31)
PyAudio (0.2.9)
pybars3 (0.9.1)
pycparser (2.14)
pyflakes (0.9.2)
Pygments (2.1)
pylint (1.5.4)
pymc (2.3.6)
PyMeta3 (0.5.1)
pymongo (3.2)
pyodbc (3.0.10)
PyOpenGL (3.1.1b1)
pyparsing (2.0.7)
PyQt4 (4.11.4)
PyQtdesignerplugins (1.1)
pyqtgraph (0.9.10)
PyQwt (5.2.1)
pyreadline (2.1)
pyserial (3.0.1)
pystache (0.5.4)
pytest (2.8.5)
python-dateutil (2.4.2)
python-hdf4 (0.9)
PythonQwt (0.5.5)
pytz (2015.7)
pywin32 (220)
PyYAML (3.11)
pyzmq (15.2.0)
QtAwesome (0.2.0)
qtconsole (4.1.1)
QtPy (0.1.3)
redis (2.10.5)
reportlab (3.2.0)
requests (2.9.1)
requests-toolbelt (0.5.1)
rope-py3k (0.9.4.post1)
rpy2 (2.7.8)
Rx (1.2.4)
scikit-image (0.11.3)
scikit-learn (0.17)
scilab2py (0.6)
scipy (0.17.0)
seaborn (0.7.0)
setuptools (19.6.2)
simplegeneric (0.8.1)
simplejson (3.8.1)
six (1.10.0)
snowballstemmer (1.2.1)
Sphinx (1.3.5)
sphinx-rtd-theme (0.1.9)
spyder (3.0.0.dev0)
SQLAlchemy (1.0.11)
sqlite-bro (0.8.10)
sqlparse (0.1.18)
statsmodels (0.6.1)
sympy (0.7.6.1)
tables (3.2.2)
Theano (0.7.0)
toolz (0.7.4)
tornado (4.3)
traitlets (4.1.0)
twine (1.6.5)
twitter (1.17.1)
ViTables (2.1)
wcwidth (0.1.6)
Werkzeug (0.11.3)
wheel (0.26.0)
winpython (1.3)
wrapt (1.10.6)
xarray (0.7.0)
xlrd (0.9.4)
XlsxWriter (0.8.4)
You are using pip version 8.0.2, however version 8.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
There is no npTDMS and pyDOE because it's clean install.
possible hints:
env.bat):qtoncsole_test.batscript:@echo off
rem to have WinPython working in a local account
call %~dp0env.bat
rem ******* Classic WinPython *******
rem set JUPYTER_DATA_DIR=%WINPYDIR%\..\settings
rem set HOME=%WINPYDIR%\..\settings
rem ******* Student WinPython *******
set JUPYTER_DATA_DIR=%HOMEDRIVE%%HOMEPATH%\Documents\WinPython%WINPYVER%
set HOME=%JUPYTER_DATA_DIR%
if not exist "%HOME%" mkdir "%HOME%"
if not exist "%HOME%\Notebooks" mkdir "%HOME%\Notebooks"
if not exist "%HOME%\Notebooks\docs" xcopy /i "%WINPYDIR%\..\Notebooks\docs\*.*" "%HOME%\Notebooks\docs"
if not exist "%HOME%\.spyder-py3" mkdir "%HOME%\.spyder-py3"
if not exist "%HOME%\.spyder-py3\workingdir" echo %HOME%\Notebooks>"%HOME%\.spyder-py3\workingdir"
rem ******* make cython use mingwpy part *******
set pydistutils_cfg=%HOME%\pydistutils.cfg
if exist "%pydistutils_cfg%" goto after_mingwpy
echo [config]>%pydistutils_cfg%"
echo compiler=mingw32>>"%pydistutils_cfg%"
echo [build]>>"%pydistutils_cfg%
echo compiler=mingw32>>"%pydistutils_cfg%"
echo [build_ext]>>"%pydistutils_cfg%"
echo compiler=mingw32>>"%pydistutils_cfg%"
:after_mingwpy
cd/D "%HOME%\Notebooks"
"%WINPYDIR%\scripts\jupyter-qtconsole.exe" %*
If all fails:
Hello @stonebig thank You for involvement.
I cannot bring exact state of memory and when problem first time occurred. But it is highly unlikely to lack in Disk space an Memory, because I typically have around 150GB of free space on system drive and installed 24GB of RAM Memory (there is taken around 25% typically).
I develop this script for oscilloscope data processing right now using basic python terminal in Spyder and it read this 10MB file with no problem. On picture bellow I present how much memory it takes right now.

In user directory I rename .jupyter to .jupyter-backupand.ipythonto.ipython-backupand runjupyter qtconsole` with no success.
On picture below it's result of running Your qtoncsole_test.bat script.

Do you have other suggestions?
I consider reinstalling operating system but it take to long right now to reinstall all my CAD/CAM/CAE software, so I am trying to avoid it.
last ideas:
I also think about white font on white background but I try to change font colour in Spyder but without result. I try in Qt console Edit -> Select All and Edit -> Copy and get error like on picture below. How I understand it only occurred because console wos empty.

I download 32bit WinPython and try to run with no positive result like it shown below.

@stonebig thank You very much for help.
I'm going to reinstall operating system when I find some free time.
last suggestion: put your question on stackoverflow
there is also this strange suggestion to remove pyreadline https://github.com/ipython/ipython/issues/3374/
I would try also once with internet disconnected.
I'm using Windows 10. I have a problem like this, but not exactly the same.
I can get qtconsole work by run "jupyter qtconsole" in cmd.
But by running %qtconsole in a notebook, I just got a frozen window like this issue.
Besides, I always got this message in cmd when running a notebook: [W 09:23:01.022 NotebookApp] Saving untrusted notebook somename.ipynb.
Thank for everyone's help.
I think my problem might be the same.
Until the time I commented 4 days ago, %qtconsole works in my laptop but not my another pc. Now my laptop gets the same problem after a conda install -c spyder-ide spyder==3.0.0b2 and automaticlly updated a lot of packages.
And I got this message from the cmd in my two computers:
[W 07:40:51.786 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20160424073547 (127.0.0.1) 3.00ms referer=http://127.0.0.1:8888/notebooks/some.ipynb
I'm pretty sure the 404 message is unrelated to the Qtconsole problems. But other than that, I've no idea how to debug it.
OK, I understand, it is not something can be reproducted. I don't even know where to look into.
I think I can live with this.
Thanks for your help.
Greetings, I have the same problem of %qtconsole magic in jupyter notebook showing a blank qtconsole screen.
I've also tried: jupyter console --existing='
I downgraded qtconsole to 4.0.0 and it worked. Not sure if I'm content with downgrading though.
I see the blank screen, but if I hit enter, it shows me a prompt. I'm not currently sure what's going wrong, but that at least seems easier than downgrading stuff.
I saw the same issue, but I confirm that after hitting enter a prompt appears.
@takluyver @tngTUDOR I've encountered the same problem, and hit ENTER works for me.
I'm using Jupyter qtconsole within Anaconda3 on macOS. The problem happened after I updated Anaconda. The current environment is Python 3.5.2, IPython 5.1.0 and Jupyter 4.2.0.
If I run jupyter qtconsole --debug the output show something like this: [JupyterQtConsoleApp] Connection File not found: /Users/dwn/Library/Jupyter/runtime/kernel-49866.json, however this file is just in that path.
Still have no idea about the problem.
Hi, so I had the same problem, then for some time hitting enter resolved problem BUT NOW IT'S ON AGAIN.
And even hitting enter is not helping.
OK I get it.
The problem is because of Anaconda. I was typing %qtconsole in jupyter notebook that had python kernel that was not activated. I changed python kernel in jupyter notebook to 'Python [conda root]' and qtconsole is squiky fresh and working.
@coconutattitude - Changing the python kernel in Jupyter notebook to 'Python [conda root]' worked for me. Qtconsole is back, thanks man! :D
I thought I'd just add here, that after upgrading from qt4 to qt5, I now have this issue on Mac. Running conda install pyqt=4 fixes the issues (let's me use qtconsole), but under qt4.
Under qt5, hitting enter does create a In [1]: prompt (and lets me use the qtconsole), but to inexperienced users, they will assume it's broken.
This will be fixed in the next release of qtconsole (version 4.3).
Most helpful comment
I see the blank screen, but if I hit enter, it shows me a prompt. I'm not currently sure what's going wrong, but that at least seems easier than downgrading stuff.