Closed webradio closed 5 years ago
This issue is caused by the changes introduced in ipykernel version 5. Downgrading to 4.10 fixes the problem:
pip install -U ipykernel==4.10
We've release pyq-kernel 1.1, which should work with the latest version of the ipykernel. Please upgrade and try again.
pip install -U pyq-kernel
pyq -m pyq.kernel install
This is a continuation of https://stackoverflow.com/questions/53739406/notebook-cells-dont-run-after-first-error-until-pyq-kernel-restart/53869615. pyq kernel 1.0.1 didn't help.
Questions
[ ] Which operating system are you using (if Linux, please provide flavour of it, i.e RedHat, CentOS or Ubuntu), is it 32-bit, or 64-bit?
[ ] Which version of PyQ are you running? Please provide output of
pyq --versions
, if PyQ isn't operational, please provide Python interpreter version and PyQ versionpython -V; python3 -V; pip list | grep pyq
:[ ] Which version of kdb+ are you using, is it 32-bit or 64-bit?
QLIC
set? Please provide outputenv | grep QLIC
on linux/macOS, orset|grep QLIC
on Windows.is not set
[ ] Did you use virtual environment to install PyQ? If not, why?
[ ] Where is your
QHOME
? Please provide outputenv | grep QHOME
on linux/macOS, orset|grep QHOME
on Windows.[ ] Do you use Conda? If so, what version?
Steps to reproduce the issue
Create a fresh virtualenv:
In the jupyter notebook, create a new one with PyQ 3 kernel. Run following cells:
from pyq import q; q('.z.ts')
returns{@[i1;();::]}
, seems to be pyq kernel 1.0.1, indeed;nonexisting_function()
returns an error;6*7
Expected result
42
Actual result
Nothing. Notebook unresponsive until kernel restart. If, instead of restarting the kernel, I close the browser with the notebook and press Ctrl-C in the terminal where jupyter-notebook was started, it reports
Kernel is taking too long to finish, killing
. Bothq
andpyq
run o.k. from a command line.