Have installed kdb+ 64-bit to a Windows 10 machine.
Running within Anaconda/Spyder, when I import PyQ, I get an error message that the kernel died. No issues running q stand alone from the command line.
Both of these
import pyq
from pyq import q
Give this error, along with a kernel restart.
Kernel died, restarting
version info:
Spyder 3.3.1
Python 3.6
kdb+/q 3.6 (64-bit)
Any ideas how to resolve this?
You cannot import pyq into a regular python session, but you should be able to connect Spyder to a pyq kernel. First, install pyq-kernel:
Second, start a pyq kernel session on the console and find the kernel id:
Kernel id is the number in the `kernel-###.json file.
Finally, go the menu under the gear icon in the Spyder's IPython console window, select "Connect to an existing kernel" and enter the kernel id that you have found in the second step in the "Kernel ID/Connection file" box.