File tree Expand file tree Collapse file tree 1 file changed +25
-4
lines changed
Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Original file line number Diff line number Diff line change 2525 "execution_count" : 1 ,
2626 "id" : " 7eb64415" ,
2727 "metadata" : {},
28+ "outputs" : [
29+ {
30+ "name" : " stdout" ,
31+ "output_type" : " stream" ,
32+ "text" : [
33+ " The operation couldn’t be completed. Unable to locate a Java Runtime that supports apt.\n " ,
34+ " Please visit http://www.java.com for information on installing Java.\n " ,
35+ " \n " ,
36+ " zsh:1: command not found: pip\n "
37+ ]
38+ }
39+ ],
40+ "source" : [
41+ " !apt install libgraphviz-dev\n " ,
42+ " !pip install pygraphviz\n " ,
43+ " import networkx as nx"
44+ ]
45+ },
46+ {
47+ "cell_type" : " code" ,
48+ "execution_count" : 6 ,
49+ "id" : " c6c7b957" ,
50+ "metadata" : {},
2851 "outputs" : [],
2952 "source" : [
30- " import networkx as nx\n " ,
31- " \n " ,
3253 " grid = nx.MultiGraph(nx.grid_2d_graph(5, 5))\n " ,
3354 " grid = nx.eulerize(grid)\n " ,
3455 " \n " ,
3960 },
4061 {
4162 "cell_type" : " markdown" ,
42- "id" : " 7df9a218 " ,
63+ "id" : " 3c7b893d " ,
4364 "metadata" : {},
4465 "source" : [
4566 " "
4667 ]
4768 },
4869 {
4970 "cell_type" : " code" ,
50- "execution_count" : 2 ,
71+ "execution_count" : 7 ,
5172 "id" : " 5a3767fe" ,
5273 "metadata" : {},
5374 "outputs" : [
You can’t perform that action at this time.
0 commit comments