| 1 | initial version |
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/src/sage/graphs/graph_generators.py#n1107
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.