You need to setup ipython to the requirements along with networkx You also need to modify the example specifically d3py_vega_scatter.py to import numpy as np