[英]How to connect to AWS Neptune graph-notebook from JupyterLab?
I followed the steps in - https://github.com/aws/graph-notebook , and I was able to run the magic commands from my Mac.我按照 - https://github.com/aws/graph-notebook中的步骤操作,并且能够从我的 Mac 运行魔法命令。 But I need to get this configured in JupyterLab.但我需要在 JupyterLab 中进行配置。
Here is what I did:这是我所做的:
%status
, I get "UsageError: Line magic function %status
not found.".当我运行%status
之类的魔法命令时,我得到“UsageError: Line magic function %status
not found.”。 Please note that ipython, graph-notebook and all required libraries are installed in conda environment.请注意,ipython、graph-notebook 和所有必需的库都安装在 conda 环境中。python -m graph_notebook.start_notebook --notebooks-dir ~/notebook/destination/dir
.我跳过了指令中的最后一步 - python -m graph_notebook.start_notebook --notebooks-dir ~/notebook/destination/dir
。 Running this created a new notebook, which Im unable to access.运行这个创建了一个新的笔记本,我无法访问。 (Note: JupyterLab is in remote server) (注:JupyterLab 在远程服务器中)I want to connect to AWS Neptune and visualize graphs in JupyterLab using gremlin queries/magic commands.我想连接到 AWS Neptune 并使用 gremlin 查询/魔术命令在 JupyterLab 中可视化图表。
Currently, graph-notebook
only supports Jupyter not JupyterLabs, so you will not be able to use the notebook widgets.目前, graph-notebook
仅支持 Jupyter 而不是 JupyterLabs,因此您将无法使用 notebook 小部件。 There is an open issue on adding support for this, so please +1 this feature request, so we can help prioritize this work.关于添加对此的支持存在一个未解决的问题,因此请对此功能请求 +1,以便我们帮助确定这项工作的优先级。 https://github.com/aws/graph-notebook/issues/55 https://github.com/aws/graph-notebook/issues/55
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.