Can't find module lie_algberas

asked 2018-09-14 11:05:34 -0500

Mingsy gravatar image

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.

Cheers

edit retag flag offensive close merge delete

Comments

It 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 ?
  • ... ?
tmonteil gravatar imagetmonteil ( 2018-09-15 03:32:27 -0500 )edit

In 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?

slelievre gravatar imageslelievre ( 2018-09-16 17:51:14 -0500 )edit

Thanks. 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?

Mingsy gravatar imageMingsy ( 2018-09-18 07:13:25 -0500 )edit

I am running Ubuntu 18.04 and here is a screenshot https://drive.google.com/file/d/1SV64jjAl3g6HQgg1-nKL94Nn1yTMXwjM/view?usp=sharing (link_text). 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.

Mingsy gravatar imageMingsy ( 2018-09-18 07:20:25 -0500 )edit