Julia SimpleHypergraphs-Hypernetx错误

Julia SimpleHypergraphs-Hypernetx错误,julia,julia-plots,Julia,Julia Plots,我试图用这个库计算一个小例子。我按照安装说明操作,但出现以下错误: ERROR: "HyperNetX is not installed in Python used by this Julia. Install HyperNetX and reload SimpleHypergraphs.jl" 这是我的密码: using PyCall using Conda Conda.runconda(`install matplotlib --yes`) Conda.runcond

我试图用这个库计算一个小例子。我按照安装说明操作,但出现以下错误:

ERROR: "HyperNetX is not installed in Python used by this Julia. Install HyperNetX and reload SimpleHypergraphs.jl"
这是我的密码:

using PyCall
using Conda
Conda.runconda(`install matplotlib --yes`)
Conda.runconda(`install networkx --yes`)
run(`$(PyCall.python) -m pip install hypernetx`)

using SimpleHypergraphs

h = Hypergraph{Float64}(5,4)

h[1:3,1] .= 1.5
h[3,4] = 2.5
h[2,3] = 3.5
h[4,3:4] .= 4.5
h[5,4] = 5.5
h[5,2] = 6.5

draw(h, HyperNetX; width=5, height=5)

我不明白为什么会发生此错误,因为hypernetx安装得很好。

似乎
pandas
已添加到
hypernetx
的依赖项中,现在它将不会加载,除非pandas可用

重新启动Julia会话并运行

using Conda
Conda.runconda(`install pandas --yes`)
现在它将按预期工作:

draw(h, HyperNetX; width=5, height=5)

谢谢你把它发出去我将把它添加到SimpleHypergraphs的自述中。 最后,请注意,SimpleHypergraphs仅在最后一步——绘图时使用Python。所有的处理/计算都是Julia的一部分,所以不要担心所有那些Python库