Ask Your Question

ttshaw1's profile - activity

2021-12-24 08:07:58 +0100 received badge  Notable Question (source)
2021-12-24 08:07:58 +0100 received badge  Popular Question (source)
2018-10-09 23:53:54 +0100 asked a question Anaconda - Sage conflict in .bashrc

I can't get Anaconda and Sage to play nicely with each other.

This is on a new install of Linux Mint 19. I installed sage from the repository and everything working fine. Then I installed Anaconda as directed on Anaconda's Linux installation instructions , including having the installer add to the PATH in ~/.bashrc. This broke sage. When I try to run it now, I get the error

Traceback (most recent call last):

File " /usr/share/sagemath/bin/sage-ipython", line 6, in <module>

from sage.repl.interpreter import SageTerminalApp

ImportError: No module named 'sage'

When I comment out the lines Anaconda added to my .bashrc file where it's adding to the PATH, Sage works again, but Anaconda is broken. What's causing this problem? How can I get the two to work at the same time?

2018-10-07 02:44:59 +0100 commented answer ImportError: No module named 'sage'

This solutions gets sage working for me, but then Anaconda doesn't work. What can I do to have them both working?