https://learninghub.kx.com/forums/topic/failed-to-load-kx-insights-core-library-error-when-using-pykx-in-q
I have installed pykx
it seems to work, but I get this error when I load the pykx.q library
After I run
\l pykx.q
I get this warning message :
WARN: Failed to load KX Insights Core library 'kurl.q'.
WARN: Failed to load KX Insights Core library 'objstor.q'.
WARN: Failed to load KX Insights Core library 'qlog.q'.
WARN: Failed to load KX Insights Core library 's.k'.
Where can I find the KX Insights Core Library?
Hey,
The Insights Core Libraries are shipped with PyKX directly but should only be executable within a Linux x86 environment. If you set
export PYKX_DEBUG_INSIGHTS_LIBRARIES=true
that will provide information on exactly why the library wasn't loaded. If possible providing the output (redacted if needed) of
python -c "import pykx;print(pykx.util.debug_environment())"
will provide us with information which should help us debug further.
Thanks. With the environment variable set (I see you have set it in the process) could you try run the \l pykx.q
and return what the output in the q session is now?
Hi . I did above. I realized that was what you were looking for .
Apologies, I don't see the information I'm expecting. Being more explicit could you start your q session running the following and provide the full output.
PYKX_DEBUG_INSIGHTS_LIBRARIES=true q pykx.q
Did you download q from this link?
https://kx.com/kdb-personal-edition-download/
It does not include the cloud libraries.
Instead the insights edition is needed to have those libraries:
https://kx.com/kdb-insights-personal-edition-license-download/
we have an enterprise licence and I am ... fairly sure we should have the insights core installed
Run 'ls' on '/q' in the container to see what files are there. The load error output suggests the cloud libraries are not there.
That was it . We don't need those as we don't have anything in cloud.
thank you