Welcome to the new home of the KX Community and KX Academy! Existing users are required to reset their passwords to log in

KX Community

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

Home Forums PyKX Error with installing PYKX

Tagged: , ,

  • Error with installing PYKX

    Posted by Anthony on January 8, 2025 at 3:54 pm

    I am following the installation for PYKX. When I run “import pykx as kx” and then follow the prompts. After I provide the base64 code, I get:

    PyKX license successfully installed to: {qlic / lic_type}

    ————————————————————————— PyKXException Traceback (most recent call last) Cell In[17], line 1 —-> 1 import pykx as kx File c:\Users\ali\OneDrive – Onyx Commodities\Documents\Projects\kdbq environment\.venv\lib\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 c:\Users\ali\OneDrive – Onyx Commodities\Documents\Projects\kdbq environment\.venv\lib\site-packages\pykx\core.pyx:342, in init pykx.core() PyKXException: Non-zero qinit following license install with configuration: {‘qhome’: ‘C:\\Users\\ali\\OneDrive – Onyx Commodities\\Documents\\Projects\\kdbq environment\\.venv\\Lib\\site-packages\\pykx\\lib’, ‘qlic’: WindowsPath(‘C:/q’), ‘ignore_qhome’: False, ‘qargs’: []} failed with output: ‘2025.01.08T15:51:33.536 licence error: embedq

    How do I fix this?

    Anthony replied 1 week, 2 days ago 2 Members · 4 Replies
  • 4 Replies

Log in to reply.

Start of Discussion
1 of 4 replies January 2025
Now