Ask Your Question
0

How to import buckygen

asked 2015-12-07 18:26:47 +0200

this post is marked as community wiki

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.

edit retag flag offensive close merge delete

Comments

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

vdelecroix gravatar imagevdelecroix ( 2015-12-07 18:30:35 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-12-07 22:12:27 +0200

tmonteil gravatar image

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...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-12-07 18:26:47 +0200

Seen: 647 times

Last updated: Dec 07 '15