ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 27 Jun 2018 03:34:46 +0200plantri package not found and installing packageshttps://ask.sagemath.org/question/42746/plantri-package-not-found-and-installing-packages/ 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.
Tue, 26 Jun 2018 23:33:15 +0200https://ask.sagemath.org/question/42746/plantri-package-not-found-and-installing-packages/Comment by slelievre for <p>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()) <br>
...
'planarity',
'plantri',
'polymake',
...
Where do I download the plantri package?
Also I get a weird error from running
install_package?
Object <code>install_package</code> not found.</p>
https://ask.sagemath.org/question/42746/plantri-package-not-found-and-installing-packages/?comment=42748#post-id-42748Please 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.Wed, 27 Jun 2018 03:23:13 +0200https://ask.sagemath.org/question/42746/plantri-package-not-found-and-installing-packages/?comment=42748#post-id-42748Comment by slelievre for <p>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()) <br>
...
'planarity',
'plantri',
'polymake',
...
Where do I download the plantri package?
Also I get a weird error from running
install_package?
Object <code>install_package</code> not found.</p>
https://ask.sagemath.org/question/42746/plantri-package-not-found-and-installing-packages/?comment=42749#post-id-42749What 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 plantriWed, 27 Jun 2018 03:33:24 +0200https://ask.sagemath.org/question/42746/plantri-package-not-found-and-installing-packages/?comment=42749#post-id-42749Answer by slelievre for <p>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()) <br>
...
'planarity',
'plantri',
'polymake',
...
Where do I download the plantri package?
Also I get a weird error from running
install_package?
Object <code>install_package</code> not found.</p>
https://ask.sagemath.org/question/42746/plantri-package-not-found-and-installing-packages/?answer=42750#post-id-42750The optional package plantri needs to be installed before it can be used.
To install it, run the following in a terminal:
sage -i plantriWed, 27 Jun 2018 03:34:46 +0200https://ask.sagemath.org/question/42746/plantri-package-not-found-and-installing-packages/?answer=42750#post-id-42750