On Thu, Mar 10, 2016 at 3:48 PM, kcrisman <[email protected]> wrote:
> I don't know if this is "really" using Sage in Anaconda, but anyway a poster
> on ask.sagemath has come up with something that might be of interest to
> those who have talked about this distribution in the past:
> http://ask.sagemath.org/question/32741/integrate-sage-jupyter-notebook-in-anaconda-python-distribution/?answer=32757#post-id-32757

No, I don't think it really has anything to do with Anaconda
specifically.  In fact, by copying the kernel spec file into their
local share directory, really their solution will apply to whatever
Python distribution they're running the Jupyter notebook out of.
Their solution isn't a bad one actually.  It does mean they have two
different Pythons running--the one in Anaconda and the one installed
with Sage--but that's not a big deal.  If I understand how Jupyter
kernels work now, there would be two Python processes running anyways.
At worst, you're duplicating the number of Python module sources that
are cached in memory by using two separate Python distributions.

There's also no reason they need to use Anaconda just to get Jupyter.
As you point out it comes with sage now.  But even if it didn't they
could `pip install jupyter notebook` into $SAGE_LOCAL (using the pip
that comes with sage) and run that notebook installation all the same.

It should also technically be possible (I haven't tried it yet, but I
intend to) to install sage into a conda environment by setting
$SAGE_LOCAL to the path to that environment.  My bet is that there are
unknown bumps in the path, but that would be the general idea.

I feel like it may be poorly understood that sage provides its own
Python distribution.

Erik

-- 
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 [email protected].
To post to this group, send email to [email protected].
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