Ask Your Question
1

sage -i -> sage-run received unknown option: -i

asked 2019-12-28 01:19:53 +0100

sageboom gravatar image

I'm trying to install a sage package (namely plantri) using sage -i plantri. I receive the message: sage-run received unknown option: -i.

I have opened a sage shell via sage -sh and repeated the same command (sage -i plantri). Received the same message. I am using SageMath version 8.1, Release Date: 2017-12-07.

What am I doing wrong?

edit retag flag offensive close merge delete

Comments

Are you using a system-wide SageMath, for instance installed as a Ubuntu package?

eric_g gravatar imageeric_g ( 2019-12-28 11:09:30 +0100 )edit

I have tried both. So using sage, installed as an ubuntu package; and manually downloaded and then using sage inside the sage directory.

sageboom gravatar imagesageboom ( 2019-12-29 13:19:52 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-12-30 17:52:47 +0100

eric_g gravatar image

When you are running sage inside the sage directory, are you using ./sage -i, instead of sage -i? The latter may invoke the system Sage, installed as an Ubuntu package, while the former forces the use of the version installed locally in the Sage directory.

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: 2019-12-28 01:19:53 +0100

Seen: 520 times

Last updated: Dec 28 '19