# How to import buckygen

I am struggling to find the way to import the Graph Theory library buckygen. Any suggestion? Thanks.

How to import buckygen

asked
**
2015-12-07 11:26:47 -0500
**

This post is a wiki. Anyone with karma >750 is welcome to improve it.

I am struggling to find the way to import the Graph Theory library buckygen. Any suggestion? Thanks.

0

If you want to install `buckygen`

within Sage, you should first do this from a terminal:

```
sage -i buckygen
```

Then, `buckygen`

is not a Python module, but a C program, hence you can not import it directly, you have to write some kind of interface if you want to interact directly with it. An example is given by the `fullerenes`

graph generator, source code which you can get by typing:

```
sage: graphs.fullerenes??
```

Or currently looking here (this precise link might not last a long time): http://git.sagemath.org/sage.git/tree...

Asked: **
2015-12-07 11:26:47 -0500
**

Seen: **288 times**

Last updated: **Dec 07 '15**

How to interpret the result of treewidth() function.

Iterating over all non isomorphic connected graphs of given order

Is it possible to use tikz in notebook

Force Gap to forget graph automorphism groups

Coloring edges by their labels

Create program to find which graphs contain specific subgraph

checking isomorphism for weighted bipartite graph

Determine whether a graph is connected after deleting all possible sets of specific size.

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.

Could you elaborate a bit more? What did you try?