Home › Forums › KX Solutions › embedPy inside q (kdb+) process fails to import a module › Re: embedPy inside q (kdb+) process fails to import a module
-
The error is that a variable “cxt” is not being found.
https://code.kx.com/q/basics/errors/#runtime-errors
General debugging tips included on: https://code.kx.com/q/basics/debug/
As this is a third party project you will get better support by raising an issue with the developer directly:
- https://github.com/michaelsimonelli/extendPy/issues
- https://github.com/michaelsimonelli/qoinbase-q/issues
The developer does not document the supported embedPy versions which would be important to know.
One difference I see is you are calling
pc:.cbpro.PublicClient[]
But the developer passes a string – this could be your issue
cli: .cli.priv.addFuncs .cbpro.PublicClient[url];