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.Thu, 20 Sep 2018 12:54:18 +0200Can't find module lie_algebrashttps://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/Hi,
I am new to Sage and have been trying the Sage Notebook. I have been trying to run some of the example code from the lie_algebra class. But trying
"import sage.algebras.lie_algebras"
gives me
"ImportError: No module named lie_algebras".
I am trying to use the LieAlgebra module.
CheersFri, 14 Sep 2018 18:05:02 +0200https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/Comment by slelievre for <p>Hi,</p>
<p>I am new to Sage and have been trying the Sage Notebook. I have been trying to run some of the example code from the lie_algebra class. But trying </p>
<p>"import sage.algebras.lie_algebras"</p>
<p>gives me </p>
<p>"ImportError: No module named lie_algebras".</p>
<p>I am trying to use the LieAlgebra module. </p>
<p>Cheers</p>
https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/?comment=43686#post-id-43686In the title of the question the `b` and `e` in `algebra` are switched;
you didn't do the same mistake when coding by any chance?Mon, 17 Sep 2018 00:51:14 +0200https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/?comment=43686#post-id-43686Comment by Mingsy for <p>Hi,</p>
<p>I am new to Sage and have been trying the Sage Notebook. I have been trying to run some of the example code from the lie_algebra class. But trying </p>
<p>"import sage.algebras.lie_algebras"</p>
<p>gives me </p>
<p>"ImportError: No module named lie_algebras".</p>
<p>I am trying to use the LieAlgebra module. </p>
<p>Cheers</p>
https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/?comment=43692#post-id-43692Thanks. No, it doesn't seem that way. I just typed the title of the question in a hurry.
I am running Sage Notebook on a local host and it is supposed to be version 7.5.1. Might I need a rebuild?Tue, 18 Sep 2018 14:13:25 +0200https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/?comment=43692#post-id-43692Comment by Mingsy for <p>Hi,</p>
<p>I am new to Sage and have been trying the Sage Notebook. I have been trying to run some of the example code from the lie_algebra class. But trying </p>
<p>"import sage.algebras.lie_algebras"</p>
<p>gives me </p>
<p>"ImportError: No module named lie_algebras".</p>
<p>I am trying to use the LieAlgebra module. </p>
<p>Cheers</p>
https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/?comment=43693#post-id-43693I am running Ubuntu 18.04 and here is a screenshot [link_text](https://drive.google.com/file/d/1SV64jjAl3g6HQgg1-nKL94Nn1yTMXwjM/view?usp=sharing). I installed Sage from the Ubuntu Gnome software center which says that it is a pre-built binary for Ubuntu 14.04 (Sage ver. 7.5.1~aimsppa6).
I guess I just wanted to know if this was a known previous issue.Tue, 18 Sep 2018 14:20:25 +0200https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/?comment=43693#post-id-43693Comment by tmonteil for <p>Hi,</p>
<p>I am new to Sage and have been trying the Sage Notebook. I have been trying to run some of the example code from the lie_algebra class. But trying </p>
<p>"import sage.algebras.lie_algebras"</p>
<p>gives me </p>
<p>"ImportError: No module named lie_algebras".</p>
<p>I am trying to use the LieAlgebra module. </p>
<p>Cheers</p>
https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/?comment=43678#post-id-43678It is unexpected. How did you install Sage ? Could you please give us some informations so that someone can try to reproduce your problem:
- which version of Sage did you use ?
- which OS ?
- did you install Sage from the binaries, and which ones ?
- did you compile Sage yourself ?
- which notebook did you use (Sage notebook or jupyter notebook) ?
- did you use the command line ?
- which commands did you type precisely to get the error ?
- which error message did you get ?
- ... ?Sat, 15 Sep 2018 10:32:27 +0200https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/?comment=43678#post-id-43678Answer by slelievre for <p>Hi,</p>
<p>I am new to Sage and have been trying the Sage Notebook. I have been trying to run some of the example code from the lie_algebra class. But trying </p>
<p>"import sage.algebras.lie_algebras"</p>
<p>gives me </p>
<p>"ImportError: No module named lie_algebras".</p>
<p>I am trying to use the LieAlgebra module. </p>
<p>Cheers</p>
https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/?answer=43699#post-id-43699Lie algebras have only been introduced in Sage in recent versions.
Wed, 19 Sep 2018 14:02:15 +0200https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/?answer=43699#post-id-43699Comment by Mingsy for <p>Lie algebras have only been introduced in Sage in recent versions.</p>
https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/?comment=43710#post-id-43710yes, you are right. I just tried in on the ver. 8.3 and its works.
Thanks!Thu, 20 Sep 2018 12:54:18 +0200https://ask.sagemath.org/question/43673/cant-find-module-lie_algebras/?comment=43710#post-id-43710