problem installing sage on ubuntu 18.04

1,031 views
Skip to first unread message

4.r.c.h.4.n...@gmail.com

unread,
Jun 27, 2018, 1:39:45 PM6/27/18
to sage-support
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.1, Release Date: 2017-12-07                     │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
Traceback (most recent call last):
  File "/usr/share/sagemath/bin/sage-ipython", line 7, in <module>
    from sage.repl.interpreter import SageTerminalApp
ImportError: No module named repl.interpreter

I'm new to sage.I'm having a problem while installing it.
So please help me to get this problem rectified

Regards

Vincent Delecroix

unread,
Jun 28, 2018, 5:39:06 AM6/28/18
to sage-s...@googlegroups.com
How did you install it?

On 27/06/2018 18:53, 4.r.c.h.4.n...@gmail.com wrote:
> ┌────────────────────────────────────────────────────────────────────┐

1'm_Z3r0

unread,
Jun 28, 2018, 9:18:57 AM6/28/18
to sage-s...@googlegroups.com
I installed it using the terminal command sudo apt install sagemath-common

On Thu, Jun 28, 2018 at 3:08 PM, Vincent Delecroix <20100.d...@gmail.com> wrote:
How did you install it?
--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscribe@googlegroups.com.
To post to this group, send email to sage-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

pi

unread,
Jun 28, 2018, 9:58:57 AM6/28/18
to sage-s...@googlegroups.com

On 18.04 you just have to install sudo apt install sagemath and it should gives you the deps... *There is a sage-notebook now just select it from synaptic

Otherwise download the ubuntu binary and make a symlink (you should find it on the list it has been explained few times already).

To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.

1'm_Z3r0

unread,
Jun 28, 2018, 1:14:43 PM6/28/18
to sage-s...@googlegroups.com
I tried to install again, when I tried to do so I got a package configuration dialogue box it was fine till that but again I got some processing errors and again
I'm attaching the screenshot below.
Screenshot from 2018-06-28 22-38-59.png

pi

unread,
Jun 28, 2018, 2:01:45 PM6/28/18
to sage-s...@googlegroups.com

I don't know why ?

Another solution is to install the binary from sage site (that's what I do to avoid deps problems)

http://www.sagemath.org/download.html

Choose the appropriate one 

Forme it's the first one

sage-8.2-Ubuntu_16.04-x86_64.tar.bz2

uncompressed it, for example in your home and and renamed it sage repertory.

then cd sage

and make a symlink

sudo ln -s "your dir" /sage /usr/bin/sage

For me :

sudo ln -s /home/pi/sage/sage /usr/bin/sage

Then you can run it (but don't run before !)

sage

make an icon

Hope it helps

To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.

1'm_Z3r0

unread,
Jun 29, 2018, 3:17:22 AM6/29/18
to sage-s...@googlegroups.com
It's working now. Thanks a lot!

pi

unread,
Jun 29, 2018, 6:01:55 AM6/29/18
to sage-s...@googlegroups.com

Your welcome what did you do ?

To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.

1'm_Z3r0

unread,
Jun 29, 2018, 11:05:39 AM6/29/18
to sage-s...@googlegroups.com
I uninstalled previously installed sage and reinstalled it in the way you told, downloaded the zip file, extracted it, and made the symlink and ran it. It worked fine.

pi

unread,
Jun 29, 2018, 12:26:22 PM6/29/18
to sage-s...@googlegroups.com

I think that's the best way and you probably noticed that you have got the latest stable version (8.2) develop is 8.3 beta7, but if one wants it it must be compiled.

To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages