Ask Your Question
1

Errors in installing plantri to generate planar graphs

asked 2 years ago

the1diot gravatar image

updated 2 years ago

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?

Preview: (hide)

Comments

On which OS ? how did you install Sage ?

FrédéricC gravatar imageFrédéricC ( 2 years ago )

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

the1diot gravatar imagethe1diot ( 2 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 2 years ago

slelievre gravatar image

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

Instructions for building from source:

Preview: (hide)
link

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

Stats

Asked: 2 years ago

Seen: 217 times

Last updated: Oct 23 '22