Ask Your Question

Errors in installing plantri to generate planar graphs

asked 2022-09-28 15:05:53 +0200

the1diot gravatar image

updated 2022-09-28 15:10:53 +0200

So I was trying to use:

gen = graphs.planar_graphs(4)

lst = list(gen)

Then I get an error that plantri is not available.

I exit the sage, and type in the terminal

sage -i plantri

which gives the following:

make: * No rule to make target 'all-toolchain'. Stop.

How do I install plantri?

edit retag flag offensive close merge delete


On which OS ? how did you install Sage ?

FrédéricC gravatar imageFrédéricC ( 2022-09-29 11:50:29 +0200 )edit

I'm using Linux Mint. Installed using sudo apt install sagemath.

the1diot gravatar imagethe1diot ( 2022-10-04 11:25:10 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2022-10-23 01:23:24 +0200

slelievre gravatar image

Build Sage from source. Then sage -i plantri will work.

Instructions for building from source:

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

1 follower


Asked: 2022-09-28 15:05:53 +0200

Seen: 165 times

Last updated: Oct 23 '22