Forum Replies Created

  • coremem

    Member
    February 3, 2025 at 10:18 am in reply to: Unable to find a q kernel in the Jupyter sandbox

    The upgrade over the weekend removed JupyterQ/embedpy as PyKX can be configured to replace it now.

    If you ‘git pull’ the project, or reopen the sandbox link from the course page, it should resolve its-self. The problem may be that the upstream changes can no longer be merged into your local copy so may need some manual intervention. A quick fix would be to move the existing course project (with your existing work) to the side by renaming it and then refetch the project with the sandbox linky as usual.

    On a related note, for your own notebooks, select ‘Python 3 (ipykernel)’ as your kernel make the first cell contain:

    #;.pykx.disableJupyter()

    The second cell contain:

    # https://code.kx.com/pykx/3.0/examples/jupyter-integration.html#q-first-mode
    import pykx as kx
    kx.util.jupyter_qfirst_enable()
    

    Then it should behave just like the previous JupyterQ/embedpy kernel.

  • We did an update of the sandbox over the weekend and it looks to have broken this for you, sorry!

    I have disabled the autorunning of the ‘setup.sh’ script for now, give it another try and let us know how you get along.

    Thanks

  • Yesterday we performed a major upgrade of the sandbox and it looks like I missed something. Sorry.

    Can you try again, hopefully it is fixed for you (and others).

    • This reply was modified 3 days, 8 hours ago by  coremem.