【发布时间】:2019-12-04 06:44:14
【问题描述】:
我正在尝试在我的 jupyter 笔记本中使用 [这里] (https://github.com/dinkelk/PyDyGraphs) 中的 dygraphs 绘图功能。文档说:
安装
只需克隆此存储库并将 dygraphs.graph 模块包含在 >>您的 Jupyter Notebooks 中。注意:PyDyGraphs 仅支持 Python 3。
文档说要使用“import dygraphs.graph as dy”
下载后,我不确定将存储库放在哪里。
我下载并解压缩的包。我的笔记本中包含了“import dygraphs.graph”。
这个包需要安装和导入熊猫,我已经完成了。
import numpy as np
import dygraphs.graph as dy
_____
ModuleNotFoundError Traceback (most recent
call last)
<ipython-input-3-29a3c1e17595> in <module>
4 import pandas as pd
5 import time
----> 6 import dygraphs.graph as dy
ModuleNotFoundError: No module named 'dygraphs'
_____
我想知道我应该把从 github 下载的文件放在哪里,以及为了使用这个包我应该做些什么。
【问题讨论】:
标签: python github jupyter-notebook dygraphs