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

asked 2019-12-27 18:19:53 -0500

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 04:09:30 -0500 )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 06:19:52 -0500 )edit
1

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.

eric_g gravatar imageeric_g ( 2019-12-30 10:52:47 -0500 )edit