Error when using in Jupyter : ''licence error: embedq''

https://learninghub.kx.com/forums/topic/error-when-using-in-jupyter-licence-error-embedq

Hi,
when trying to run pykx in a jupyter env, it first doesn’t recognize the fact that i have a valid license on my computer. It asks me to provide the 64bit key, which i do. It then triggers the error:

"""

PyKX license successfully installed. Restart Python for this to take effect.

'2024.05.18T11:31:11.545 licence error: embedq

"""

"""

PyKXException Traceback (most recent call last)
Cell In[1], line 5
3 import pyarrow as pa
4 import os
----> 5 import pykx as kx
6 from datetime import datetime as date

File ~/miniforge3/envs/ker-q/lib/python3.10/site-packages/pykx/__init__.py:32
28 from . import reimporter
29 # Importing core initializes q if in licensed mode, and loads the q C API symbols. This should
30 # happen early on so that if the qinit check is currently happening then no time is wasted.
31 # The current process will exit while the core module is loading if the qinit check is happening.
---> 32 from . import core
34 from abc import ABCMeta, abstractmethod
35 import itertools as it

File ~/miniforge3/envs/ker-q/lib/python3.10/site-packages/pykx/core.pyx:347, in init pykx.core()

PyKXException: Non-zero qinit return code 1 despite successful pre-check
"""

Can someone explain what happens ?
Thank you!
Paul

A PyKX enabled license must be used.


Issued from: https://kx.com/kdb-insights-personal-edition-license-download/

(Not from: https://kx.com/kdb-personal-edition-download/ )