of course i did it !

Le 18/12/2018 à 19:45, Dima Pasechnik a écrit :
On Tue, Dec 18, 2018 at 5:18 PM Mathieu Roux <mthr...@gmail.com> wrote:
I have removed this line. I got the same:
You should also restart the shell, for this removal to take effect.
┌────────────────────────────────────────────────────────────────────┐
│ 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'



when i do "type python", i get: python is /usr/bin/python
and when i launch python, i have:
Python 3.6.5 (default, Apr  1 2018, 05:46:30)
[GCC 7.3.0] on linux




Le mar. 18 déc. 2018 à 18:03, Vincent Delecroix <20100.delecr...@gmail.com> a 
écrit :
Could you try removing this line? It seems to create a confusion
in the Sage launcher between Python2 and Python3.

Le 18/12/2018 à 17:48, Mathieu Roux a écrit :
Madison, thanks for your answer.

So i got:
['', '/usr/lib/python36.zip', '/usr/lib/python3.6',
'/usr/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/dist-packages',
'/usr/lib/python3/dist-packages']

In my .bashrc, i wrote this line for another reason:
alias python='python3.6'

Do you know how i can launch sage-notebook?




Le mar. 18 déc. 2018 à 11:36, E. Madison Bray <erik.m.b...@gmail.com> a
écrit :

On Mon, Dec 17, 2018 at 8:11 PM Mathieu Roux <mthr...@gmail.com> wrote:
Good evening,

I am trying to install sage on my computer.
I am using Linux Mint Cinnamon.
I wrote
sudo apt-get install sagemath
et
sudo apt-get install sagemath-jupyter
with no errors.
But then, when i try    /usr/bin/sage, i get

┌────────────────────────────────────────────────────────────────────┐
│ 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'
Try running just

$ sage -python -c 'import sys; print(sys.path)'

I bet something is messed up about your python path (or the package
itself is broken somehow).

--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to