简体   繁体   English

如何从 JupyterLab 连接到 AWS Neptune 图形笔记本?

[英]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:这是我所做的:

  1. Created a new conda env in JupyterLab在 JupyterLab 中创建了一个新的 conda 环境
  2. Installed all required packages in conda env在 conda env 中安装了所有必需的软件包
  3. When i run the magic commands like %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 环境中。
  4. I skipped the last step in the instruction - 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.

相关问题 如何使用 jupyterlab notebook 启动和安装? - how start and install with jupyterlab notebook? 无论如何,是否只能使用 python 从 aws neptune 备份/存档命名图形数据? - Is there anyway to take backup/archive of a named graph data only from aws neptune using python? 如何使用 Airflow 连接到 AWS Emr Notebook - How to Connect to AWS Emr Notebook with Airflow 如何在AI平台JupyterLab notebook中卸载package? - How to uninstall a package in AI platform JupyterLab notebook? 如何在Jupyterlab笔记本中删除In []和Out []单元格标签? - How to remove In[ ] and Out[ ] cell tags in a Jupyterlab notebook? 如何在 Jupyter notebook 或 JupyterLab 中使用破折号? - How to use dash within Jupyter notebook or JupyterLab? 如何在 SageMaker Studio 中监控 Jupyterlab notebook? - How to monitor Jupyterlab notebook in SageMaker Studio? 如何在 AWS-Ubuntu 上连接 Jupyter Notebook 远程服务器 - How to connect Jupyter Notebook Remote Server on AWS- Ubuntu 在 IPython Notebook 中的 AWS Neptune ML 中检索或存储 Gremlin 查询的结果 - Retrieve or store results of Gremlin queries within AWS Neptune ML, in IPython Notebook JupyterLab启动时如何加载notebook.json或custom.js? - How can JupyterLab load notebook.json or custom.js when JupyterLab launching?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM