#11914: `sage -n` fails when current directory is $SAGE_ROOT/devel/sage
-----------------------+----------------------------------------------------
Reporter: kini | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.2
Component: scripts | Keywords: startup, crash, sage-env
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-----------------------+----------------------------------------------------
Comment(by leif):
Replying to [comment:3 leif]:
> Replying to [comment:2 kini]:
> > To clarify, it seems that Python is trying to load the sage library
from `$SAGE_ROOT/devel/sage/sage/` (which equals `./sage/` in this
context) rather than from `$SAGE_ROOT/devel/sage/build/sage/`, thus
ppurka's `PYTHONPATH` fix.
>
> The subdirectory `./sage` was my guess...
{{{
#!sh
$ cd $SAGE_ROOT
$ (mkdir -p tmp/sage/sage && cd tmp/sage && ../../sage -n)
}}}
in contrast works for me.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11914#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.