KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums PyKX Error when using in Jupyter : ”licence error: embedq”

  • Error when using in Jupyter : ”licence error: embedq”

    Posted by fav_pa on May 18, 2024 at 6:41 pm

    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

    fav_pa replied 5 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

Log in to reply.