First time here? Check out the FAQ!

Ask Your Question
1

plantri package not found and installing packages

asked 6 years ago

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.

Preview: (hide)

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 ( 6 years ago )

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 ( 6 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 6 years ago

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
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: 6 years ago

Seen: 320 times

Last updated: Jun 27 '18