Unsuccessful install on Ubuntu 18.04

338 views
Skip to the first unread message

Jack Fearnley

unread,
14 May 2018, 14:53:3214/05/2018
to sage-support
I just installed Sagemath 8.1 from the ubuntu repository on a fresh install of Ubuntu 18.04. This was a large which loaded many packages including Python2.7.

When I came to run sage I got the following:
**************************************************************
jack@jack-XPS-8910:~$ sage
┌────────────────────────────────────────────────────────────────────┐
│ 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
ModuleNotFoundError: No module named 'sage'
jack@jack-XPS-8910:~$ 
*************************************************************

Where do I go from here?

I might mention that I have already loaded Anaconda with the Python3.6 option.  Could this be interfering in some way?

Best Regards,
                       Jack Fearnley


Jack Fearnley

unread,
16 May 2018, 15:05:5016/05/2018
to sage-support
Sorry to reply to my own post, but I discovered the error.  It was indeed a PATH problem. When Anaconda is generated it installs itself as the first element of PATH.  I have now corrected this to make Anaconda the last element of PATH and sage loads without a problem.
I can still access unique elements of Anaconda since it is still in my path.

Jack
 

 
Reply all
Reply to author
Forward
0 new messages