IPython interpreter change

I am using Python with kdb +. To do this, I use PyQ , which brings Python and kdb + / Q to the same process and allows both languages ​​to work on the same dataset / memory.

After some effort, I can load Python into the kdb + / Q process on OS X using the instructions here , i.e.

q python.q [-<python option>@ <python option value>]* python-script

This is all good, but I would like to use the above command as an interpreter in IPython (Notebook for research, etc.).

So how do you change the interpreter in IPython? I saw the FAQ here , but creating a virtual environment doesn't seem like a solution. Ideally, I would create a profile for IPython.

Many thanks.

+4
source share
1 answer

You can install the latest version of PyQ using the following pip command:

pip install -i https://pypi.enlnt.com --no-binary pyq pyq

This should install the executable pyq. To start IPython, run

pyq -mIPython

For more information on PyQ and IPython, see my presentation, “Exploring KDB + Data on IPython Laptops .

+4
source

All Articles