Hi,
I recently started getting license errors while importing pykx. I downloaded a fresh version from Insights which is the link that the error message led me towards. I got the welcome email today but it is either not recognized, or it is recognized but something else is going wrong:
“import pykx
Your PyKX license has now expired.
Captured output from initialization attempt:
'2026.01.27T17:31:28.594 license error: exp
License used:
/home/matthew/.kx_backup/kc.lic
Would you like to renew your license? (Selecting no will proceed with unlicensed mode) [Y/n]: Y
Do you have access to an existing license for PyKX that you would like to use? [N/y]: y
Please select the method you wish to use to activate your license:
[1] Provide the location of your license
[2] Input the activation key
Enter your choice here [1/2]: 2
Please confirm the license type:
[1] Personal use (kc.lic)
[2] Commercial use (k4.lic)
Enter your choice here [1/2]: 1
Provide your activation key (base64 encoded string) : ***********************************
PyKX license successfully installed to: /home/matthew/.kx_backup/kc.lic
Traceback (most recent call last):
File "", line 1, in
File "/home/matthew/myenv/lib/python3.12/site-packages/pykx/init.py", line 32, in
from . import core
File "pykx/core.pyx", line 362, in init pykx.core
pykx.exceptions.PyKXException: Non-zero qinit following license install with configuration: {'qhome': '/home/matthew/myenv/lib/python3.12/site-packages/pykx/lib/kdbx-libs', 'qlic': PosixPath('/home/matthew/.kx_backup'), 'ignore_qhome': False, 'qargs': }
failed with output: '2026.01.27T17:31:56.809 license error: exp”
For what it’s worth, I have tried everything else I can think of here including downloading the file directly into the QLIC location, but none of it works, and I’m out of ideas to get pykx to recognize the new license. Is there something I am missing here?
Thanks,
Matthew