KxSystems / jupyterq

Jupyter kernel for kdb+
https://code.kx.com/q/interfaces
Apache License 2.0
104 stars 46 forks source link

libpython error when running jupyterq_windows #69

Open borisal opened 2 years ago

borisal commented 2 years ago

Hi,

I am using jupyterq_windows-1.1.11 release and trying to run jupyterq on Python 3.9.7 with KDB 4.0 2021.07.12 on Windows 10 (all 64bit). I am not using Conda. I was able to run install.bat without errors. I can run q as well. When I run jupyter notebook I see the below errors. What could be the issue?

'2022.03.27T13:57:20.462 libpython [8] C:\q\p.q:14: .P.env:not H~P; .p:(:./p 2:(init;3))[L;H;B]] ^ [5] C:\q\p.k:1: \l p.q ^ [2] C:\q\jupyterq_kernel.q:92: \l p.k

Thanks

cmccarthy1 commented 2 years ago

Hi Boris,

This issue is related to the issue you raised on embedPy not being supported for Python 3.9 on Windows the libpython error is being raised from embedPy rather than jupyterq.

We'll look into the issue you're seeing with embedPy and get back on that repo.

All the best,

Conor

borisal commented 2 years ago

I switched to Anaconda and created Python 3.8 environment. Now, I can install embedPy and jupyterq.