Ask Your Question

Revision history [back]

networkx beginner

Hi, I installed networkx package along with imagemagick( i am required to use it in my project). While going through the tutorial pdfs i got stuck at the second line. The first line [ import networkx as nx ] works fine but on executing the second line: [ G=nx.Graph() ], i get an error as:

bash: syntax error near unexpected token `('

Please help me in this regard. I am a complete newbie to networkx as well as python. Thank You.