pyvis icon indicating copy to clipboard operation
pyvis copied to clipboard

Graph does not render

Open Fate1405 opened this issue 2 years ago • 1 comments

When running the example code in the Quick Start section of the README:

from pyvis.network import Network

g = Network()
g.add_node(0)
g.add_node(1)
g.add_edge(0, 1)
g.show("basic.html")

I encounter the error:

AttributeError: 'NoneType' object has no attribute 'render'

I am utilising python 3.10 with VS Code as the IDE.

Fate1405 avatar Apr 08 '23 12:04 Fate1405

Same here

edit: related to #216 The issue is simply to do python -m pip install pyvis==0.3.1 after uninstalling first

thiswillbeyourgithub avatar Apr 18 '23 10:04 thiswillbeyourgithub