Ask Your Question
1

plantri package not found and installing packages

asked 2018-06-26 23:33:15 +0100

standardtrickyness gravatar image

So I'm getting the plantri package not found error despite plantri appearing in my packages list in sage: pkgs=list_packages(local=True) sorted(pkgs.keys()) sage: sorted(pkgs.keys())
... 'planarity', 'plantri', 'polymake', ... Where do I download the plantri package? Also I get a weird error from running install_package? Object install_package not found.

edit retag flag offensive close merge delete

Comments

Please provide the exact code used and the exact error message you get.

To display blocks of code or error messages, skip a line above and below, and do one of the following (all give the same result):

  • indent all code lines with 4 spaces
  • select all code lines and click the "code" button (the icon with '101 010')
  • select all code lines and hit ctrl-K

For instance, typing

If we define `f` by

    def f(x, y):
        return (x, y)

then `f(2, 3)` returns `(2, 3)` but `f(2)` gives:

    TypeError: f() takes exactly 2 arguments (1 given)

produces:

If we define f by

def f(x, y):
    return (x, y)

then f(2, 3) returns (2, 3) but f(2) gives:

TypeError: f() takes exactly 2 arguments (1 given)

Please edit your question to do that.

slelievre gravatar imageslelievre ( 2018-06-27 03:23:13 +0100 )edit

What Sage version are you using? Under what operating system?

Using Sage 8.3.beta2, I was able to install plantri by running the following in a terminal:

sage -i plantri
slelievre gravatar imageslelievre ( 2018-06-27 03:33:24 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-06-27 03:34:46 +0100

slelievre gravatar image

The optional package plantri needs to be installed before it can be used.

To install it, run the following in a terminal:

sage -i plantri
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

Stats

Asked: 2018-06-26 23:33:15 +0100

Seen: 309 times

Last updated: Jun 27 '18