Closed webradio closed 5 years ago
In order to use PyQ in the jupyter notebook, you need to install PyQ kernel:
pip install pyq-kernel
pyq -mpyq.kernel install
Then you will able to start notebook with the PyQ-kernel:
In console:
jupyter console --kernel=pyq_3
Or start jupyter notebook
and select PyQ 3
when creating a new notebook.
For issues with jupyterq, please report issues to the specific project -- https://github.com/KxSystems/jupyterq.
Both pyq and embedpy both define a p.k
(although the embedpy version is just \l p.q
). This seems to be the source of the issue and explains why the installation order impacts whether jupyterq works.
Are there any plans to allow a user to run both the jupyterq and pyq kernels within the same python installation. From our experience they are both complementary, and seems a natural extension of https://github.com/KxSystems/embedPy/issues/17
It looks similar to issue 30
Questions
[ ] Which operating system are you using?
[ ] Which version of PyQ are you running?
[ ] 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.no
[ ] 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
In the browser window that opens, try creating a new Q notebook.
Expected result
Jupyter notebook launching Q kernel and connecting to it, so that I can enter and run e.g.
til 2
Actual result
Workaround
This worked:
When installed in this order,
p.k
is much shorter and only refersp.q
.$QHOME/l64/p.so
is much longer.