-
PyKXException – Valid KDB+/Q License
Hello,
Currently using trial kdb version, it’s working well.
KDB+ 4.1 2024.10.16 Copyright (C) 1993-2024 Kx Systems l64/ 4(24)core 7461MB rr local 127.0.1.1 EXPIRE 2025.12.14 @gmail.com KDB PLUS TRIAL #xxxx365
Tried installing PyKX and it’s dependencies.
Linux local 6.8.0-50-generic #51~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 21 12:03:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Python 3.10.12 (main, Nov 6 2024, 20:22:13) [GCC 11.4.0] on linuxType "help", "copyright", "credits" or "license" for more information.
When I have tried for first time, that is, importing pykx, it worked.
import pykx as kx kx.license.install('/home/rr/q/l64/kc.lic') PyKX license successfully installed!
However after installing kdb+ license, started throwing the below error. How to fix this issue? appreciate your help! Thanks
kx.q.til(5) Traceback (most recent call last):File "/home/rr/.local/lib/python3.10/site-packages/pykx/init.py", line 152, in /.getattrctx = self.getattribute('ctx')AttributeError: 'EmbeddedQ' object has no attribute 'ctx'
import pykx as kx Traceback (most recent call last):File "<stdin>", line 1, in <module>File "/home/rr/.local/lib/python3.10/site-packages/pykx/init.py", line 32, in <module>from . import coreFile "pykx/core.pyx", line 394, in init pykx.corepykx.exceptions.PyKXException: Early garbage collection requires a valid q license.
Sorry, there were no replies found.
Log in to reply.