I am trying to use networkx with Python. When I run this program it get this error. Is there anything missing?
#!/usr/bin/env python import networkx as nx i
What system are you on? It looks like you have a system with X11, but the DISPLAY environment variable was not properly set. Try executing the following command and then rerunning your program:
export DISPLAY=localhost:0