简体   繁体   English

在 Jupyter Notebook 中使用 PyQ

[英]Using PyQ in Jupyter Notebook

I am trying to use PyQ in Jupyter, a package designed to communicate between the Python and Q/kdb+ programming language.我正在尝试在 Jupyter 中使用 PyQ,这是一个旨在在 Python 和 Q/kdb+ 编程语言之间进行通信的包。 I am successfully able to install Q/kdb+ on my Windows computer (where the q.exe file is located in the standard C:), pip installed pyq, and opened Jupyter with Anaconda Navigator.我能够在我的 Windows 计算机上成功安装 Q/kdb+(其中 q.exe 文件位于标准 C: 中),pip 安装了 pyq,并使用 Anaconda Navigator 打开了 Jupyter。 However, when I create a new .ipynb notebook and attempted to initialize Q using PyQ, I am presented with:但是,当我创建一个新的 .ipynb 笔记本并尝试使用 PyQ 初始化 Q 时,我会看到:

ImportError: Importing pyq from stock python is not supported. Run path\to\q.exe python.q.

How do I fix this problem?我该如何解决这个问题? Thank you!谢谢!

You need to install pyq-kernel .您需要安装pyq-kernel

Please see Installing Jupyter Kernel for details.有关详细信息,请参阅安装 Jupyter 内核

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM